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/kaiser_window_ops.h> |
21 | |
22 | namespace at { |
23 | |
24 | |
25 | // aten::kaiser_window(int window_length, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
26 | inline at::Tensor kaiser_window(int64_t window_length, at::TensorOptions options={}) { |
27 | return at::_ops::kaiser_window::call(window_length, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); |
28 | } |
29 | // aten::kaiser_window(int window_length, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
30 | inline at::Tensor kaiser_window(int64_t window_length, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory) { |
31 | return at::_ops::kaiser_window::call(window_length, dtype, layout, device, pin_memory); |
32 | } |
33 | |
34 | // aten::kaiser_window.periodic(int window_length, bool periodic, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
35 | inline at::Tensor kaiser_window(int64_t window_length, bool periodic, at::TensorOptions options={}) { |
36 | return at::_ops::kaiser_window_periodic::call(window_length, periodic, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); |
37 | } |
38 | // aten::kaiser_window.periodic(int window_length, bool periodic, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
39 | inline at::Tensor kaiser_window(int64_t window_length, bool periodic, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory) { |
40 | return at::_ops::kaiser_window_periodic::call(window_length, periodic, dtype, layout, device, pin_memory); |
41 | } |
42 | |
43 | // aten::kaiser_window.beta(int window_length, bool periodic, float beta, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
44 | inline at::Tensor kaiser_window(int64_t window_length, bool periodic, double beta, at::TensorOptions options={}) { |
45 | return at::_ops::kaiser_window_beta::call(window_length, periodic, beta, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); |
46 | } |
47 | // aten::kaiser_window.beta(int window_length, bool periodic, float beta, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor |
48 | inline at::Tensor kaiser_window(int64_t window_length, bool periodic, double beta, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory) { |
49 | return at::_ops::kaiser_window_beta::call(window_length, periodic, beta, dtype, layout, device, pin_memory); |
50 | } |
51 | |
52 | // aten::kaiser_window.out(int window_length, *, Tensor(a!) out) -> Tensor(a!) |
53 | inline at::Tensor & kaiser_window_out(at::Tensor & out, int64_t window_length) { |
54 | return at::_ops::kaiser_window_out::call(window_length, out); |
55 | } |
56 | // aten::kaiser_window.out(int window_length, *, Tensor(a!) out) -> Tensor(a!) |
57 | inline at::Tensor & kaiser_window_outf(int64_t window_length, at::Tensor & out) { |
58 | return at::_ops::kaiser_window_out::call(window_length, out); |
59 | } |
60 | |
61 | // aten::kaiser_window.periodic_out(int window_length, bool periodic, *, Tensor(a!) out) -> Tensor(a!) |
62 | inline at::Tensor & kaiser_window_out(at::Tensor & out, int64_t window_length, bool periodic) { |
63 | return at::_ops::kaiser_window_periodic_out::call(window_length, periodic, out); |
64 | } |
65 | // aten::kaiser_window.periodic_out(int window_length, bool periodic, *, Tensor(a!) out) -> Tensor(a!) |
66 | inline at::Tensor & kaiser_window_outf(int64_t window_length, bool periodic, at::Tensor & out) { |
67 | return at::_ops::kaiser_window_periodic_out::call(window_length, periodic, out); |
68 | } |
69 | |
70 | // aten::kaiser_window.beta_out(int window_length, bool periodic, float beta, *, Tensor(a!) out) -> Tensor(a!) |
71 | inline at::Tensor & kaiser_window_out(at::Tensor & out, int64_t window_length, bool periodic, double beta) { |
72 | return at::_ops::kaiser_window_beta_out::call(window_length, periodic, beta, out); |
73 | } |
74 | // aten::kaiser_window.beta_out(int window_length, bool periodic, float beta, *, Tensor(a!) out) -> Tensor(a!) |
75 | inline at::Tensor & kaiser_window_outf(int64_t window_length, bool periodic, double beta, at::Tensor & out) { |
76 | return at::_ops::kaiser_window_beta_out::call(window_length, periodic, beta, out); |
77 | } |
78 | |
79 | } |
80 | |