Line data Source code
1 : #pragma once 2 : 3 : // @generated by torchgen/gen.py from Function.h 4 : 5 : #include <ATen/Context.h> 6 : #include <ATen/DeviceGuard.h> 7 : #include <ATen/TensorUtils.h> 8 : #include <ATen/TracerMode.h> 9 : #include <ATen/core/Generator.h> 10 : #include <ATen/core/Reduction.h> 11 : #include <ATen/core/Tensor.h> 12 : #include <c10/core/Scalar.h> 13 : #include <c10/core/Storage.h> 14 : #include <c10/core/TensorOptions.h> 15 : #include <c10/util/Deprecated.h> 16 : #include <optional> 17 : #include <string_view> 18 : 19 : 20 : 21 : #include <ATen/ops/ne_ops.h> 22 : 23 : namespace at { 24 : 25 : 26 : // aten::ne.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!) 27 : inline at::Tensor & ne_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & other) { 28 : return at::_ops::ne_Scalar_out::call(self, other, out); 29 : } 30 : // aten::ne.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!) 31 : inline at::Tensor & ne_outf(const at::Tensor & self, const at::Scalar & other, at::Tensor & out) { 32 : return at::_ops::ne_Scalar_out::call(self, other, out); 33 : } 34 : 35 : // aten::ne.Scalar(Tensor self, Scalar other) -> Tensor 36 : inline at::Tensor ne(const at::Tensor & self, const at::Scalar & other) { 37 0 : return at::_ops::ne_Scalar::call(self, other); 38 : } 39 : 40 : // aten::ne.Tensor_out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) 41 : inline at::Tensor & ne_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other) { 42 : return at::_ops::ne_Tensor_out::call(self, other, out); 43 : } 44 : // aten::ne.Tensor_out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) 45 : inline at::Tensor & ne_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out) { 46 : return at::_ops::ne_Tensor_out::call(self, other, out); 47 : } 48 : 49 : // aten::ne.Tensor(Tensor self, Tensor other) -> Tensor 50 : inline at::Tensor ne(const at::Tensor & self, const at::Tensor & other) { 51 : return at::_ops::ne_Tensor::call(self, other); 52 : } 53 : 54 : }