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/_aminmax_ops.h> |
21 | |
22 | namespace at { |
23 | |
24 | |
25 | // aten::_aminmax(Tensor self) -> (Tensor, Tensor) |
26 | inline ::std::tuple<at::Tensor,at::Tensor> _aminmax(const at::Tensor & self) { |
27 | return at::_ops::_aminmax::call(self); |
28 | } |
29 | |
30 | // aten::_aminmax.dim(Tensor self, int dim, bool keepdim=False) -> (Tensor, Tensor) |
31 | inline ::std::tuple<at::Tensor,at::Tensor> _aminmax(const at::Tensor & self, int64_t dim, bool keepdim=false) { |
32 | return at::_ops::_aminmax_dim::call(self, dim, keepdim); |
33 | } |
34 | |
35 | // aten::_aminmax.out(Tensor self, *, Tensor(a!) out0, Tensor(b!) out1) -> (Tensor(a!), Tensor(b!)) |
36 | inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self) { |
37 | return at::_ops::_aminmax_out::call(self, out0, out1); |
38 | } |
39 | // aten::_aminmax.out(Tensor self, *, Tensor(a!) out0, Tensor(b!) out1) -> (Tensor(a!), Tensor(b!)) |
40 | inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, at::Tensor & out0, at::Tensor & out1) { |
41 | return at::_ops::_aminmax_out::call(self, out0, out1); |
42 | } |
43 | |
44 | // aten::_aminmax.dim_out(Tensor self, int dim, bool keepdim=False, *, Tensor(a!) out0, Tensor(b!) out1) -> (Tensor(a!), Tensor(b!)) |
45 | inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self, int64_t dim, bool keepdim=false) { |
46 | return at::_ops::_aminmax_dim_out::call(self, dim, keepdim, out0, out1); |
47 | } |
48 | // aten::_aminmax.dim_out(Tensor self, int dim, bool keepdim=False, *, Tensor(a!) out0, Tensor(b!) out1) -> (Tensor(a!), Tensor(b!)) |
49 | inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, int64_t dim, bool keepdim, at::Tensor & out0, at::Tensor & out1) { |
50 | return at::_ops::_aminmax_dim_out::call(self, dim, keepdim, out0, out1); |
51 | } |
52 | |
53 | } |
54 | |