Computes rectified linear: max(features, 0)
.
tf.raw_ops.Relu(
features, name=None
)
See: https://en.wikipedia.org/wiki/Rectifier_(neural_networks) Example usage:
>>> tf.nn.relu([-2., 0., 3.]).numpy()
array([0., 0., 3.], dtype=float32)
Returns | |
---|---|
A Tensor . Has the same type as features .
|