#pragma once // @generated by torchgen/gen.py from Function.h #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 ::value>> 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 ::value>> at::Tensor broadcast_to(const at::Tensor & self, c10::SymIntArrayRef size) { return at::_ops::broadcast_to::call(self, size); } } }