Skip to contents

Not_equal

Usage

torch_not_equal(self, other)

Arguments

self

(Tensor) the tensor to compare

other

(Tensor or float) the tensor or value to compare

not_equal(input, other, *, out=None) -> Tensor

Alias for torch_ne().