ClikaRT::ops::reglu
function
reglu()
ReGLU gated activation over a concatenated gate‖up input.
The relu-gated member of the GLU family, beside geglu / swiglu: [.., 2d] in, [.., d] out; the last dim must be even.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) when the last dim is odd (code_name()carries the reason).
Returns: the gated tensor [.., d].
Declared in ClikaRT/compute/ops.h, line 752