Skip to main content

ClikaRT::ops::renorm_

function

renorm_()

Tensor& renorm_(
    Tensor& self,
    Scalar p,
    int64_t dim,
    Scalar maxnorm,
    std::optional<double> eps = std::nullopt
)

In-place renorm: rewrites self with each slice's norm capped at maxnorm and returns it under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling.

Throws

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