From 287a8872e89491b0f3e3cbeb0396778b6e2f806b Mon Sep 17 00:00:00 2001 From: JG <67888047+juliagsy@users.noreply.github.com> Date: Thu, 31 Aug 2023 13:47:10 +0100 Subject: [PATCH] fix: restore torch frontend tensor `ne` method (#22840) --- ivy/functional/frontends/torch/tensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivy/functional/frontends/torch/tensor.py b/ivy/functional/frontends/torch/tensor.py index 5c2f30d8c06a4..a2a307f7b86ae 100644 --- a/ivy/functional/frontends/torch/tensor.py +++ b/ivy/functional/frontends/torch/tensor.py @@ -486,6 +486,8 @@ def floor(self, *, out=None): def not_equal(self, other, *, out=None): return torch_frontend.not_equal(self, other, out=out) + ne = not_equal + def equal(self, other): return torch_frontend.equal(self, other)