Applies the rectified linear unit function element-wise.

nnf_relu(input, inplace = FALSE)

nnf_relu_(input)

Arguments

input (N,*) tensor, where * means, any number of additional dimensions can optionally do the operation in-place. Default: FALSE