On this page
torch.nn.functional.elu
torch.nn.functional.elu(input, alpha=1.0, inplace=False)[source]-
Applies the Exponential Linear Unit (ELU) function element-wise.
See
ELUfor more details.- Return type
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.nn.functional.elu.html