blob: 5811a1da96350a695f1a80c02e705a6412ae0ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
### `tf.nn.relu(features, name=None)` {#relu}
Computes rectified linear: `max(features, 0)`.
##### Args:
* <b>`features`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `int64`, `uint8`, `int16`, `int8`, `uint16`, `half`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A `Tensor`. Has the same type as `features`.
|