ClikaRT::ops::fill_diagonal_
function
fill_diagonal_()
Tensor& fill_diagonal_(
Tensor& self,
Scalar fill_value,
bool wrap = false,
StreamOrDevice s = {}
)
In-place fill_diagonal: writes the diagonal through self; same arguments and error conditions as fill_diagonal(). 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 2272