TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.nn.functional.glu

tensorplay.nn.functional.glu(input, dim=-1) → Tensor[source]

Gated Linear Unit: a∗σ(b)a * \sigma(b) where the input is split in half along dim.

On this page

Ask DeepWiki