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/squeeze_copy_ops.h> |
21 | |
22 | namespace at { |
23 | |
24 | |
25 | // aten::squeeze_copy(Tensor self) -> Tensor |
26 | inline at::Tensor squeeze_copy(const at::Tensor & self) { |
27 | return at::_ops::squeeze_copy::call(self); |
28 | } |
29 | |
30 | // aten::squeeze_copy.dim(Tensor self, int dim) -> Tensor |
31 | inline at::Tensor squeeze_copy(const at::Tensor & self, int64_t dim) { |
32 | return at::_ops::squeeze_copy_dim::call(self, dim); |
33 | } |
34 | |
35 | // aten::squeeze_copy.dims(Tensor self, int[] dim) -> Tensor |
36 | inline at::Tensor squeeze_copy(const at::Tensor & self, at::IntArrayRef dim) { |
37 | return at::_ops::squeeze_copy_dims::call(self, dim); |
38 | } |
39 | |
40 | // aten::squeeze_copy.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) |
41 | inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self) { |
42 | return at::_ops::squeeze_copy_out::call(self, out); |
43 | } |
44 | // aten::squeeze_copy.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) |
45 | inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, at::Tensor & out) { |
46 | return at::_ops::squeeze_copy_out::call(self, out); |
47 | } |
48 | |
49 | // aten::squeeze_copy.dim_out(Tensor self, int dim, *, Tensor(a!) out) -> Tensor(a!) |
50 | inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self, int64_t dim) { |
51 | return at::_ops::squeeze_copy_dim_out::call(self, dim, out); |
52 | } |
53 | // aten::squeeze_copy.dim_out(Tensor self, int dim, *, Tensor(a!) out) -> Tensor(a!) |
54 | inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, int64_t dim, at::Tensor & out) { |
55 | return at::_ops::squeeze_copy_dim_out::call(self, dim, out); |
56 | } |
57 | |
58 | // aten::squeeze_copy.dims_out(Tensor self, int[] dim, *, Tensor(a!) out) -> Tensor(a!) |
59 | inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef dim) { |
60 | return at::_ops::squeeze_copy_dims_out::call(self, dim, out); |
61 | } |
62 | // aten::squeeze_copy.dims_out(Tensor self, int[] dim, *, Tensor(a!) out) -> Tensor(a!) |
63 | inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, at::IntArrayRef dim, at::Tensor & out) { |
64 | return at::_ops::squeeze_copy_dims_out::call(self, dim, out); |
65 | } |
66 | |
67 | } |
68 | |