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/std_ops.h> |
21 | |
22 | namespace at { |
23 | |
24 | |
25 | // aten::std(Tensor self, bool unbiased=True) -> Tensor |
26 | inline at::Tensor std(const at::Tensor & self, bool unbiased) { |
27 | return at::_ops::std::call(self, unbiased); |
28 | } |
29 | |
30 | // aten::std.dim(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False) -> Tensor |
31 | inline at::Tensor std(const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim=false) { |
32 | return at::_ops::std_dim::call(self, dim, unbiased, keepdim); |
33 | } |
34 | |
35 | // aten::std.correction(Tensor self, int[1]? dim=None, *, int? correction=None, bool keepdim=False) -> Tensor |
36 | inline at::Tensor std(const at::Tensor & self, at::OptionalIntArrayRef dim=c10::nullopt, c10::optional<int64_t> correction=c10::nullopt, bool keepdim=false) { |
37 | return at::_ops::std_correction::call(self, dim, correction, keepdim); |
38 | } |
39 | |
40 | // aten::std.out(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) |
41 | inline at::Tensor & std_out(at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim=false) { |
42 | return at::_ops::std_out::call(self, dim, unbiased, keepdim, out); |
43 | } |
44 | // aten::std.out(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) |
45 | inline at::Tensor & std_outf(const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim, at::Tensor & out) { |
46 | return at::_ops::std_out::call(self, dim, unbiased, keepdim, out); |
47 | } |
48 | |
49 | // aten::std.correction_out(Tensor self, int[1]? dim=None, *, int? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) |
50 | inline at::Tensor & std_out(at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef dim=c10::nullopt, c10::optional<int64_t> correction=c10::nullopt, bool keepdim=false) { |
51 | return at::_ops::std_correction_out::call(self, dim, correction, keepdim, out); |
52 | } |
53 | // aten::std.correction_out(Tensor self, int[1]? dim=None, *, int? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) |
54 | inline at::Tensor & std_outf(const at::Tensor & self, at::OptionalIntArrayRef dim, c10::optional<int64_t> correction, bool keepdim, at::Tensor & out) { |
55 | return at::_ops::std_correction_out::call(self, dim, correction, keepdim, out); |
56 | } |
57 | |
58 | // aten::std.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> Tensor |
59 | inline at::Tensor std(const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim=false) { |
60 | return at::_ops::std_names_dim::call(self, dim, unbiased, keepdim); |
61 | } |
62 | |
63 | // aten::std.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) |
64 | inline at::Tensor & std_out(at::Tensor & out, const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim=false) { |
65 | return at::_ops::std_names_out::call(self, dim, unbiased, keepdim, out); |
66 | } |
67 | // aten::std.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) |
68 | inline at::Tensor & std_outf(const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim, at::Tensor & out) { |
69 | return at::_ops::std_names_out::call(self, dim, unbiased, keepdim, out); |
70 | } |
71 | |
72 | // aten::std.correction_names(Tensor self, Dimname[1] dim, *, int? correction=None, bool keepdim=False) -> Tensor |
73 | inline at::Tensor std(const at::Tensor & self, at::DimnameList dim, c10::optional<int64_t> correction=c10::nullopt, bool keepdim=false) { |
74 | return at::_ops::std_correction_names::call(self, dim, correction, keepdim); |
75 | } |
76 | |
77 | // aten::std.correction_names_out(Tensor self, Dimname[1] dim, *, int? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) |
78 | inline at::Tensor & std_out(at::Tensor & out, const at::Tensor & self, at::DimnameList dim, c10::optional<int64_t> correction=c10::nullopt, bool keepdim=false) { |
79 | return at::_ops::std_correction_names_out::call(self, dim, correction, keepdim, out); |
80 | } |
81 | // aten::std.correction_names_out(Tensor self, Dimname[1] dim, *, int? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) |
82 | inline at::Tensor & std_outf(const at::Tensor & self, at::DimnameList dim, c10::optional<int64_t> correction, bool keepdim, at::Tensor & out) { |
83 | return at::_ops::std_correction_names_out::call(self, dim, correction, keepdim, out); |
84 | } |
85 | |
86 | } |
87 | |