Skip to main content

ClikaRT::ops::unsqueeze_

function

unsqueeze_()

Tensor& unsqueeze_(Tensor& self, int64_t dim)

In-place unsqueeze: reshapes self's handle in place; same rules and error conditions as unsqueeze(); the storage is untouched. 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 3475