ReLU module
Applies the rectified linear unit function element-wise [REMOVE_ME]
nn_relu(inplace = FALSE)
inplace
: can optionally do the operation in-place. Default: FALSE
Applies the rectified linear unit function element-wise
*
means, any number of additional dimensionsif (torch_is_installed()) { m <- nn_relu() input <- torch_randn(2) m(input) }
Useful links