tf.reduce_mean( input_tensor, axis=None, keepdims=None, name=None, reduction_indices=None...例:x = tf.constant([[1., 1.], [2., 2.]])tf.reduce_mean(x) # 1.5tf.reduce_mean(x, 0) # [1.5, 1.5]tf.reduce_mean...reduce_mean有一个来自input_tensor的攻击类型推断,例如:x = tf.constant([1, 0, 1, 0])tf.reduce_mean(x) # 0y = tf.constant...([1., 0., 1., 0.])tf.reduce_mean(y) # 0.5原链接: https://tensorflow.google.cn/versions/r1.11/api_docs/...python/tf/reduce_mean?