//clika-runtime/io.clika.runtime/Ops/glu
glu
[common]
fun glu(input: Tensor, dim: Long = -1L): Tensor
glu(input: Tensor, dim: Long = -1L): the glu operator. Gated linear unit: splits input in half along dim and gates the first half with the sigmoid of the second. The size of dim must be even; the output halves it.