标签: tensorflow tensorflow-serving
我正在尝试将训练损失计算为tf.estimator DNN分类器中的交叉熵。如何在分类器中添加交叉熵损失。
感谢。
答案 0 :(得分:0)
使用tf.estimator.DNNClassifier,它使用逻辑回归头(link to the sources in 1.3)。
tf.estimator.DNNClassifier