Skip to main content

ClikaRT::ops::zero_

function

zero_()

Tensor& zero_(Tensor& self, StreamOrDevice s = {})

In-place zero fill: overwrites every element of self with zero (the error conditions of zeros()). 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 2382