GLU === Applies the Gated Linear Unit function. **Abstract Signature:** ``GLU(dim: int = -1)`` .. raw:: html

PyTorch

API: torch.nn.GLU
Strategy: Direct Mapping

Keras

API: keras.activations.glu
Strategy: Direct Mapping

Apple MLX

API: mlx.nn.GLU
Strategy: Direct Mapping

Flax NNX

API: flax.nnx.GLU
Strategy: Direct Mapping