ReLu6 module
Applies the element-wise function:
nn_relu6(inplace = FALSE)
inplace
: can optionally do the operation in-place. Default: FALSE
*
means, any number of additional dimensionsif (torch_is_installed()) { m <- nn_relu6() input <- torch_randn(2) output <- m(input) }
Useful links