Skip to main content

ClikaRT::ops::softshrink_

function

softshrink_()

Tensor& softshrink_(Tensor& self, double lambd = 0.5)

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