Applies the element-wise function:
Details
More details can be found in the paper Continuously Differentiable Exponential Linear Units.
Examples
if (torch_is_installed()) {
m <- nn_celu()
input <- torch_randn(2)
output <- m(input)
}
Applies the element-wise function:
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)
}