小编Gab*_*man的帖子

TensorFlow交叉熵教程

我刚刚完成了TensorFlow教程(https://www.tensorflow.org/versions/r0.8/tutorials/mnist/pros/index.html#deep-mnist-for-experts).

我有两个问题:

  1. 它为什么用cost function with y_ * log(y)?不应该y_ * log(y) + (1-y_) * log(1-y)吗?

  2. 如何TensorFlow知道如何计算gradient的的cost function我用?难道我们不应该在某处告诉TensorFlow如何计算gradient

谢谢!

tensorflow

4
推荐指数
1
解决办法
1170
查看次数

标签 统计

tensorflow ×1