Skip to main content

ClikaRT::ops::eq_

function

eq_()

Tensor& eq_(Tensor& self, ScalarOrTensor other)

In-place eq: writes the comparison result through x (x keeps its own dtype; true/false land as one/zero).

Throws

  • ClikaRT::Error: as the value form.

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