#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::bincount(Tensor self, Tensor? weights=None, SymInt minlength=0) -> Tensor inline at::Tensor bincount(const at::Tensor & self, const ::std::optional & weights={}, int64_t minlength=0) { return at::_ops::bincount::call(self, weights, minlength); } namespace symint { template >> at::Tensor bincount(const at::Tensor & self, const ::std::optional & weights={}, int64_t minlength=0) { return at::_ops::bincount::call(self, weights, minlength); } } // aten::bincount(Tensor self, Tensor? weights=None, SymInt minlength=0) -> Tensor inline at::Tensor bincount_symint(const at::Tensor & self, const ::std::optional & weights={}, c10::SymInt minlength=0) { return at::_ops::bincount::call(self, weights, minlength); } namespace symint { template >> at::Tensor bincount(const at::Tensor & self, const ::std::optional & weights={}, c10::SymInt minlength=0) { return at::_ops::bincount::call(self, weights, minlength); } } // aten::bincount.out(Tensor self, Tensor? weights=None, SymInt minlength=0, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & bincount_out(at::Tensor & out, const at::Tensor & self, const ::std::optional & weights={}, int64_t minlength=0) { return at::_ops::bincount_out::call(self, weights, minlength, out); } namespace symint { template >> at::Tensor & bincount_out(at::Tensor & out, const at::Tensor & self, const ::std::optional & weights={}, int64_t minlength=0) { return at::_ops::bincount_out::call(self, weights, minlength, out); } } // aten::bincount.out(Tensor self, Tensor? weights=None, SymInt minlength=0, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & bincount_outf(const at::Tensor & self, const ::std::optional & weights, int64_t minlength, at::Tensor & out) { return at::_ops::bincount_out::call(self, weights, minlength, out); } namespace symint { template >> at::Tensor & bincount_outf(const at::Tensor & self, const ::std::optional & weights, int64_t minlength, at::Tensor & out) { return at::_ops::bincount_out::call(self, weights, minlength, out); } } // aten::bincount.out(Tensor self, Tensor? weights=None, SymInt minlength=0, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & bincount_symint_out(at::Tensor & out, const at::Tensor & self, const ::std::optional & weights={}, c10::SymInt minlength=0) { return at::_ops::bincount_out::call(self, weights, minlength, out); } namespace symint { template >> at::Tensor & bincount_out(at::Tensor & out, const at::Tensor & self, const ::std::optional & weights={}, c10::SymInt minlength=0) { return at::_ops::bincount_out::call(self, weights, minlength, out); } } // aten::bincount.out(Tensor self, Tensor? weights=None, SymInt minlength=0, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & bincount_symint_outf(const at::Tensor & self, const ::std::optional & weights, c10::SymInt minlength, at::Tensor & out) { return at::_ops::bincount_out::call(self, weights, minlength, out); } namespace symint { template >> at::Tensor & bincount_outf(const at::Tensor & self, const ::std::optional & weights, c10::SymInt minlength, at::Tensor & out) { return at::_ops::bincount_out::call(self, weights, minlength, out); } } }