Skip to main content

ClikaRT::ops::threshold_

function

threshold_()

Tensor& threshold_(
    Tensor& self,
    double threshold,
    double value
)

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