tf.metrics.accuracy(),用法
accuracy, update_op = tf.metrics.accuracy(labels=x, predictions=y)
accuracy为到上一个batch为止的准确度。
update_op为到本batch为止的准确度。
tf.keras.metrics.Accuracy()使用不了?
tf.metrics.accuracy(),用法
accuracy, update_op = tf.metrics.accuracy(labels=x, predictions=y)
accuracy为到上一个batch为止的准确度。
update_op为到本batch为止的准确度。
tf.keras.metrics.Accuracy()使用不了?
让时间为你证明