
Last chance! 50% off unlimited learning
Sale ends in
Applies the element-wise function:
nn_elu(alpha = 1, inplace = FALSE)
the
can optionally do the operation in-place. Default: FALSE
Input: *
means, any number of additional
dimensions
Output:
if (torch_is_installed()) {
m <- nn_elu()
input <- torch_randn(2)
output <- m(input)
}
Run the code above in your browser using DataLab