我刚刚完成了TensorFlow教程(https://www.tensorflow.org/versions/r0.8/tutorials/mnist/pros/index.html#deep-mnist-for-experts).
我有两个问题:
它为什么用cost function with y_ * log(y)?不应该y_ * log(y) + (1-y_) * log(1-y)吗?
如何TensorFlow知道如何计算gradient的的cost function我用?难道我们不应该在某处告诉TensorFlow如何计算gradient?
谢谢!
tensorflow ×1