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