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/le_ops.h>
21
22namespace at {
23
24
25// aten::le.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!)
26inline at::Tensor & le_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & other) {
27 return at::_ops::le_Scalar_out::call(self, other, out);
28}
29// aten::le.Scalar_out(Tensor self, Scalar other, *, Tensor(a!) out) -> Tensor(a!)
30inline at::Tensor & le_outf(const at::Tensor & self, const at::Scalar & other, at::Tensor & out) {
31 return at::_ops::le_Scalar_out::call(self, other, out);
32}
33
34// aten::le.Scalar(Tensor self, Scalar other) -> Tensor
35inline at::Tensor le(const at::Tensor & self, const at::Scalar & other) {
36 return at::_ops::le_Scalar::call(self, other);
37}
38
39// aten::le.Tensor_out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!)
40inline at::Tensor & le_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other) {
41 return at::_ops::le_Tensor_out::call(self, other, out);
42}
43// aten::le.Tensor_out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!)
44inline at::Tensor & le_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out) {
45 return at::_ops::le_Tensor_out::call(self, other, out);
46}
47
48// aten::le.Tensor(Tensor self, Tensor other) -> Tensor
49inline at::Tensor le(const at::Tensor & self, const at::Tensor & other) {
50 return at::_ops::le_Tensor::call(self, other);
51}
52
53}
54