#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::broadcast_to(Tensor(a) self, SymInt[] size) -> Tensor(a) inline at::Tensor broadcast_to(const at::Tensor & self, at::IntArrayRef size) { return at::_ops::broadcast_to::call(self, c10::fromIntArrayRefSlow(size)); } namespace symint { template >> at::Tensor broadcast_to(const at::Tensor & self, at::IntArrayRef size) { return at::_ops::broadcast_to::call(self, c10::fromIntArrayRefSlow(size)); } } // aten::broadcast_to(Tensor(a) self, SymInt[] size) -> Tensor(a) inline at::Tensor broadcast_to_symint(const at::Tensor & self, c10::SymIntArrayRef size) { return at::_ops::broadcast_to::call(self, size); } namespace symint { template >> at::Tensor broadcast_to(const at::Tensor & self, c10::SymIntArrayRef size) { return at::_ops::broadcast_to::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)