ID:16501有训练集包含num个训练样本,交叉熵在tf中的表述是()
A.ntropy = -tf.reduce_sum(y_actual*tf.log(y_predict)) B.ntropy = -tf.reduce_mean(y_actual*tf.log(y_predict)) C.ntropy = -tf.reduce_max(y_actual*tf.log(y_predict)) D.ntropy = -tf.reduce_any(y_actual*tf.log(y_predict))