Contents:
Activation
Bases: Module
Module
Activation Layer
Get activation function by name.
name (str) – Name of the activation function.
Activation function
nn.Module
Computes the activation function.
x (torch.Tensor) – Input tensor.
Output tensor.
torch.Tensor