pytorch / 2 / generated / torch.nn.functional.elu.html

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 ELU for more details.

Return type

Tensor

© 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