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 <c10/util/Optional.h> |
17 | |
18 | |
19 | |
20 | #include <ATen/ops/xlogy_ops.h> |
21 | |
22 | namespace at { |
23 | |
24 | |
25 | // aten::xlogy.Tensor(Tensor self, Tensor other) -> Tensor |
26 | inline at::Tensor xlogy(const at::Tensor & self, const at::Tensor & other) { |
27 | return at::_ops::xlogy_Tensor::call(self, other); |
28 | } |
29 | |
30 | // aten::xlogy.Scalar_Self(Scalar self, Tensor other) -> Tensor |
31 | inline at::Tensor xlogy(const at::Scalar & self, const at::Tensor & other) { |
32 | return at::_ops::xlogy_Scalar_Self::call(self, other); |
33 | } |
34 | |
35 | // aten::xlogy.Scalar_Other(Tensor self, Scalar other) -> Tensor |
36 | inline at::Tensor xlogy(const at::Tensor & self, const at::Scalar & other) { |
37 | return at::_ops::xlogy_Scalar_Other::call(self, other); |
38 | } |
39 | |
40 | // aten::xlogy_.Tensor(Tensor(a!) self, Tensor other) -> Tensor(a!) |
41 | inline at::Tensor & xlogy_(at::Tensor & self, const at::Tensor & other) { |
42 | return at::_ops::xlogy__Tensor::call(self, other); |
43 | } |
44 | |
45 | // aten::xlogy_.Scalar_Other(Tensor(a!) self, Scalar other) -> Tensor(a!) |
46 | inline at::Tensor & xlogy_(at::Tensor & self, const at::Scalar & other) { |
47 | return at::_ops::xlogy__Scalar_Other::call(self, other); |
48 | } |
49 | |
50 | // aten::xlogy.OutTensor(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) |
51 | inline at::Tensor & xlogy_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other) { |
52 | return at::_ops::xlogy_OutTensor::call(self, other, out); |
53 | } |
54 | // aten::xlogy.OutTensor(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) |
55 | inline at::Tensor & xlogy_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out) { |
56 | return at::_ops::xlogy_OutTensor::call(self, other, out); |
57 | } |
58 | |
59 | // aten::xlogy.OutScalar_Self(Scalar self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) |
60 | inline at::Tensor & xlogy_out(at::Tensor & out, const at::Scalar & self, const at::Tensor & other) { |
61 | return at::_ops::xlogy_OutScalar_Self::call(self, other, out); |
62 | } |
63 | // aten::xlogy.OutScalar_Self(Scalar self, Tensor other, *, Tensor(a!) out) -> Tensor(a!) |
64 | inline at::Tensor & xlogy_outf(const at::Scalar & self, const at::Tensor & other, at::Tensor & out) { |
65 | return at::_ops::xlogy_OutScalar_Self::call(self, other, out); |
66 | } |
67 | |
68 | // aten::xlogy.OutScalar_Other(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!) |
69 | inline at::Tensor & xlogy_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & other) { |
70 | return at::_ops::xlogy_OutScalar_Other::call(self, other, out); |
71 | } |
72 | // aten::xlogy.OutScalar_Other(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!) |
73 | inline at::Tensor & xlogy_outf(const at::Tensor & self, const at::Scalar & other, at::Tensor & out) { |
74 | return at::_ops::xlogy_OutScalar_Other::call(self, other, out); |
75 | } |
76 | |
77 | } |
78 | |