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