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/gcd_ops.h>
21
22namespace at {
23
24
25// aten::gcd.out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!)
26inline at::Tensor & gcd_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other) {
27 return at::_ops::gcd_out::call(self, other, out);
28}
29// aten::gcd.out(Tensor self, Tensor other, *, Tensor(a!) out) -> Tensor(a!)
30inline at::Tensor & gcd_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out) {
31 return at::_ops::gcd_out::call(self, other, out);
32}
33
34// aten::gcd(Tensor self, Tensor other) -> Tensor
35inline at::Tensor gcd(const at::Tensor & self, const at::Tensor & other) {
36 return at::_ops::gcd::call(self, other);
37}
38
39// aten::gcd_(Tensor(a!) self, Tensor other) -> Tensor(a!)
40inline at::Tensor & gcd_(at::Tensor & self, const at::Tensor & other) {
41 return at::_ops::gcd_::call(self, other);
42}
43
44}
45