摘要: 1、tf.nn.relu(features, name = None) 这个函数的作用是计算激活函数 relu,即 max(features, 0)。将大于0的保持不变,小于0的数置为0。 import tensorflow as tf a = tf.constant([-1.0, 2.0]) wi 阅读全文