Skip to main content

ClikaRT::ops::gelu_

function

gelu_()

Tensor& gelu_(Tensor& self, GeluMode approximate = GeluMode::None)

In-place gelu: writes the result through self; same formula, arguments, and error conditions as gelu(). A view input writes through its base storage. Returns self under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling.

Declared in ClikaRT/compute/ops.h, line 771