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/_foreach_maximum_ops.h>
21
22namespace at {
23
24
25// aten::_foreach_maximum.Scalar(Tensor[] self, Scalar scalar) -> Tensor[]
26inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, const at::Scalar & scalar) {
27 return at::_ops::_foreach_maximum_Scalar::call(self, scalar);
28}
29
30// aten::_foreach_maximum_.Scalar(Tensor(a!)[] self, Scalar scalar) -> ()
31inline void _foreach_maximum_(at::TensorList self, const at::Scalar & scalar) {
32 return at::_ops::_foreach_maximum__Scalar::call(self, scalar);
33}
34
35// aten::_foreach_maximum.List(Tensor[] self, Tensor[] other) -> Tensor[]
36inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::TensorList other) {
37 return at::_ops::_foreach_maximum_List::call(self, other);
38}
39
40// aten::_foreach_maximum_.List(Tensor(a!)[] self, Tensor[] other) -> ()
41inline void _foreach_maximum_(at::TensorList self, at::TensorList other) {
42 return at::_ops::_foreach_maximum__List::call(self, other);
43}
44
45// aten::_foreach_maximum.ScalarList(Tensor[] self, Scalar[] scalars) -> Tensor[]
46inline ::std::vector<at::Tensor> _foreach_maximum(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
47 return at::_ops::_foreach_maximum_ScalarList::call(self, scalars);
48}
49
50// aten::_foreach_maximum_.ScalarList(Tensor(a!)[] self, Scalar[] scalars) -> ()
51inline void _foreach_maximum_(at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
52 return at::_ops::_foreach_maximum__ScalarList::call(self, scalars);
53}
54
55// aten::_foreach_maximum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
56inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, const at::Scalar & scalar) {
57 return at::_ops::_foreach_maximum_Scalar_out::call(self, scalar, out);
58}
59// aten::_foreach_maximum.Scalar_out(Tensor[] self, Scalar scalar, *, Tensor(a!)[] out) -> ()
60inline void _foreach_maximum_outf(at::TensorList self, const at::Scalar & scalar, at::TensorList out) {
61 return at::_ops::_foreach_maximum_Scalar_out::call(self, scalar, out);
62}
63
64// aten::_foreach_maximum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
65inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::TensorList other) {
66 return at::_ops::_foreach_maximum_List_out::call(self, other, out);
67}
68// aten::_foreach_maximum.List_out(Tensor[] self, Tensor[] other, *, Tensor(a!)[] out) -> ()
69inline void _foreach_maximum_outf(at::TensorList self, at::TensorList other, at::TensorList out) {
70 return at::_ops::_foreach_maximum_List_out::call(self, other, out);
71}
72
73// aten::_foreach_maximum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
74inline void _foreach_maximum_out(at::TensorList out, at::TensorList self, at::ArrayRef<at::Scalar> scalars) {
75 return at::_ops::_foreach_maximum_ScalarList_out::call(self, scalars, out);
76}
77// aten::_foreach_maximum.ScalarList_out(Tensor[] self, Scalar[] scalars, *, Tensor(a!)[] out) -> ()
78inline void _foreach_maximum_outf(at::TensorList self, at::ArrayRef<at::Scalar> scalars, at::TensorList out) {
79 return at::_ops::_foreach_maximum_ScalarList_out::call(self, scalars, out);
80}
81
82}
83