
Last chance! 50% off unlimited learning
Sale ends in
The gated linear unit. Computes:
nnf_glu(input, dim = -1)
(Tensor) input tensor
(int) dimension on which to split the input. Default: -1
where input
is split in half along dim
to form a
and b
,