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

torch.nn.functional.alpha_dropout

torch.nn.functional.alpha_dropout(input, p=0.5, training=False, inplace=False) [source]

Applies alpha dropout to the input.

See AlphaDropout for 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.alpha_dropout.html