|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <ATen/Context.h>
|
|
|
#include <ATen/DeviceGuard.h>
|
|
|
#include <ATen/TensorUtils.h>
|
|
|
#include <ATen/TracerMode.h>
|
|
|
#include <ATen/core/Generator.h>
|
|
|
#include <ATen/core/Reduction.h>
|
|
|
#include <ATen/core/Tensor.h>
|
|
|
#include <c10/core/Scalar.h>
|
|
|
#include <c10/core/Storage.h>
|
|
|
#include <c10/core/TensorOptions.h>
|
|
|
#include <c10/util/Deprecated.h>
|
|
|
#include <optional>
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
|
|
|
|
#include <ATen/ops/_aminmax_ops.h>
|
|
|
|
|
|
namespace at {
|
|
|
|
|
|
|
|
|
|
|
|
inline ::std::tuple<at::Tensor,at::Tensor> _aminmax(const at::Tensor & self) {
|
|
|
return at::_ops::_aminmax::call(self);
|
|
|
}
|
|
|
|
|
|
|
|
|
inline ::std::tuple<at::Tensor,at::Tensor> _aminmax(const at::Tensor & self, int64_t dim, bool keepdim=false) {
|
|
|
return at::_ops::_aminmax_dim::call(self, dim, keepdim);
|
|
|
}
|
|
|
|
|
|
|
|
|
inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self) {
|
|
|
return at::_ops::_aminmax_out::call(self, out0, out1);
|
|
|
}
|
|
|
|
|
|
inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, at::Tensor & out0, at::Tensor & out1) {
|
|
|
return at::_ops::_aminmax_out::call(self, out0, out1);
|
|
|
}
|
|
|
|
|
|
|
|
|
inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & self, int64_t dim, bool keepdim=false) {
|
|
|
return at::_ops::_aminmax_dim_out::call(self, dim, keepdim, out0, out1);
|
|
|
}
|
|
|
|
|
|
inline ::std::tuple<at::Tensor &,at::Tensor &> _aminmax_outf(const at::Tensor & self, int64_t dim, bool keepdim, at::Tensor & out0, at::Tensor & out1) {
|
|
|
return at::_ops::_aminmax_dim_out::call(self, dim, keepdim, out0, out1);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|