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