nn.relu
Applies the rectified linear unit function element-wise
Args
tensor
(@Tensor<T>
) - The input tensor.
Returns
A Tensor<T>
with the same shape as the input tensor.
Examples
Last updated
Applies the rectified linear unit function element-wise
tensor
(@Tensor<T>
) - The input tensor.
A Tensor<T>
with the same shape as the input tensor.
Last updated