#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once // @generated by torchgen/gen.py from Function.h #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace at { // aten::swapdims(Tensor(a) self, int dim0, int dim1) -> Tensor(a) inline at::Tensor swapdims(const at::Tensor & self, int64_t dim0, int64_t dim1) { return at::_ops::swapdims::call(self, dim0, dim1); } } #else #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined." #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)