torch.nn.functional.gelu
-
torch.nn.functional.
gelu
(input) → Tensor[source] Applies element-wise the function
where is the Cumulative Distribution Function for Gaussian Distribution.
torch.nn.functional.
gelu
(input) → Tensor[source]Applies element-wise the function
where is the Cumulative Distribution Function for Gaussian Distribution.