Line data Source code
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 <optional>
17 : #include <string_view>
18 :
19 :
20 :
21 : #include <ATen/ops/all_ops.h>
22 :
23 : namespace at {
24 :
25 :
26 : // aten::all.dim(Tensor self, int dim, bool keepdim=False) -> Tensor
27 : inline at::Tensor all(const at::Tensor & self, int64_t dim, bool keepdim=false) {
28 : return at::_ops::all_dim::call(self, dim, keepdim);
29 : }
30 :
31 : // aten::all.dims(Tensor self, int[]? dim=None, bool keepdim=False) -> Tensor
32 : inline at::Tensor all(const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim=false) {
33 : return at::_ops::all_dims::call(self, dim, keepdim);
34 : }
35 :
36 : // aten::all.out(Tensor self, int dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
37 : inline at::Tensor & all_out(at::Tensor & out, const at::Tensor & self, int64_t dim, bool keepdim=false) {
38 : return at::_ops::all_out::call(self, dim, keepdim, out);
39 : }
40 : // aten::all.out(Tensor self, int dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
41 : inline at::Tensor & all_outf(const at::Tensor & self, int64_t dim, bool keepdim, at::Tensor & out) {
42 : return at::_ops::all_out::call(self, dim, keepdim, out);
43 : }
44 :
45 : // aten::all.dims_out(Tensor self, int[]? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
46 : inline at::Tensor & all_out(at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim=false) {
47 : return at::_ops::all_dims_out::call(self, dim, keepdim, out);
48 : }
49 : // aten::all.dims_out(Tensor self, int[]? dim=None, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
50 : inline at::Tensor & all_outf(const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim, at::Tensor & out) {
51 : return at::_ops::all_dims_out::call(self, dim, keepdim, out);
52 : }
53 :
54 : // aten::all.dimname(Tensor self, Dimname dim, bool keepdim=False) -> Tensor
55 : inline at::Tensor all(const at::Tensor & self, at::Dimname dim, bool keepdim=false) {
56 : return at::_ops::all_dimname::call(self, dim, keepdim);
57 : }
58 :
59 : // aten::all.dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
60 : inline at::Tensor & all_out(at::Tensor & out, const at::Tensor & self, at::Dimname dim, bool keepdim=false) {
61 : return at::_ops::all_dimname_out::call(self, dim, keepdim, out);
62 : }
63 : // aten::all.dimname_out(Tensor self, Dimname dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!)
64 : inline at::Tensor & all_outf(const at::Tensor & self, at::Dimname dim, bool keepdim, at::Tensor & out) {
65 : return at::_ops::all_dimname_out::call(self, dim, keepdim, out);
66 : }
67 :
68 : // aten::all(Tensor self) -> Tensor
69 : inline at::Tensor all(const at::Tensor & self) {
70 8 : return at::_ops::all::call(self);
71 : }
72 :
73 : // aten::all.all_out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
74 : inline at::Tensor & all_out(at::Tensor & out, const at::Tensor & self) {
75 : return at::_ops::all_all_out::call(self, out);
76 : }
77 : // aten::all.all_out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
78 : inline at::Tensor & all_outf(const at::Tensor & self, at::Tensor & out) {
79 : return at::_ops::all_all_out::call(self, out);
80 : }
81 :
82 : }
|