#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 { namespace symint { template >> at::Tensor view(const at::Tensor & self, at::IntArrayRef size) { return at::_ops::view::call(self, c10::fromIntArrayRefSlow(size)); } } namespace symint { template >> at::Tensor view(const at::Tensor & self, c10::SymIntArrayRef size) { return at::_ops::view::call(self, size); } } } #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)