http://stackoverflow.com/questions/37312421/tensorflow-whats-the-difference-between-sparse-softmax-cross-entropy-with-logi Having two different functions is a convenience, as they produce the same result. The difference is simple: For sparse_softmax_…
In order to train our model, we need to define what it means for the model to be good. Well, actually, in machine learning we typically define what it means for a model to be bad. We call this the cost, or the loss, and it represents how far off our…
转自:https://www.tensorflow.org/api_docs/python/tf/train/GradientDescentOptimizer 1.tf.train.GradientDescentOptimizer 其中有函数: 1.1apply_gradients apply_gradients( grads_and_vars, global_step=None, name=None ) Apply gradients to variables. This is the sec…