Rate this Page

Template Function at::symint::nll_loss2d(const at::Tensor&, const at::Tensor&, const ::std::optional<at::Tensor>&, int64_t, c10::SymInt)#

Function Documentation#

template<typename T, typename = std::enable_if_t<std::is_same_v<T, c10::SymInt>>>
at::Tensor at::symint::nll_loss2d(const at::Tensor &self, const at::Tensor &target, const ::std::optional<at::Tensor> &weight = {}, int64_t reduction = at::Reduction::Mean, c10::SymInt ignore_index = -100)#