#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::swapaxes(Tensor(a) self, int axis0, int axis1) -> Tensor(a) inline at::Tensor swapaxes(const at::Tensor & self, int64_t axis0, int64_t axis1) { return at::_ops::swapaxes::call(self, axis0, axis1); } } #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)