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/exp_ops.h> 23 : 24 : namespace at { 25 : 26 : 27 : // aten::exp(Tensor self) -> Tensor 28 : inline at::Tensor exp(const at::Tensor & self) { 29 0 : return at::_ops::exp::call(self); 30 : } 31 : 32 : // aten::exp_(Tensor(a!) self) -> Tensor(a!) 33 : inline at::Tensor & exp_(at::Tensor & self) { 34 : return at::_ops::exp_::call(self); 35 : } 36 : 37 : // aten::exp.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) 38 : inline at::Tensor & exp_out(at::Tensor & out, const at::Tensor & self) { 39 : return at::_ops::exp_out::call(self, out); 40 : } 41 : // aten::exp.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) 42 : inline at::Tensor & exp_outf(const at::Tensor & self, at::Tensor & out) { 43 : return at::_ops::exp_out::call(self, out); 44 : } 45 : 46 : } 47 : 48 : #else 49 : #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined." 50 : #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)