Skip to main content

ClikaRT::ops::leaky_relu_

function

leaky_relu_()

Tensor& leaky_relu_(Tensor& self, double negative_slope = 0.01)

In-place leaky_relu: writes the result through self; same formula, arguments, and error conditions as leaky_relu(). 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 889