API symbolsnn
Copy
tensorplay.nn.functional.glu
- tensorplay.nn.functional.glu(input, dim=-1) Tensor[source]
Gated Linear Unit: \(a * \sigma(b)\) where the input is split in half along
dim.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
