12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #pragma once
- // @generated by torchgen/gen.py from Function.h
- #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 <c10/util/Optional.h>
- #include <ATen/ops/squeeze_copy_ops.h>
- namespace at {
- // aten::squeeze_copy(Tensor self) -> Tensor
- inline at::Tensor squeeze_copy(const at::Tensor & self) {
- return at::_ops::squeeze_copy::call(self);
- }
- // aten::squeeze_copy.dim(Tensor self, int dim) -> Tensor
- inline at::Tensor squeeze_copy(const at::Tensor & self, int64_t dim) {
- return at::_ops::squeeze_copy_dim::call(self, dim);
- }
- // aten::squeeze_copy.dims(Tensor self, int[] dim) -> Tensor
- inline at::Tensor squeeze_copy(const at::Tensor & self, at::IntArrayRef dim) {
- return at::_ops::squeeze_copy_dims::call(self, dim);
- }
- // aten::squeeze_copy.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self) {
- return at::_ops::squeeze_copy_out::call(self, out);
- }
- // aten::squeeze_copy.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, at::Tensor & out) {
- return at::_ops::squeeze_copy_out::call(self, out);
- }
- // aten::squeeze_copy.dim_out(Tensor self, int dim, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self, int64_t dim) {
- return at::_ops::squeeze_copy_dim_out::call(self, dim, out);
- }
- // aten::squeeze_copy.dim_out(Tensor self, int dim, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, int64_t dim, at::Tensor & out) {
- return at::_ops::squeeze_copy_dim_out::call(self, dim, out);
- }
- // aten::squeeze_copy.dims_out(Tensor self, int[] dim, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef dim) {
- return at::_ops::squeeze_copy_dims_out::call(self, dim, out);
- }
- // aten::squeeze_copy.dims_out(Tensor self, int[] dim, *, Tensor(a!) out) -> Tensor(a!)
- inline at::Tensor & squeeze_copy_outf(const at::Tensor & self, at::IntArrayRef dim, at::Tensor & out) {
- return at::_ops::squeeze_copy_dims_out::call(self, dim, out);
- }
- }
|