Rate this Page

Function at::nll_loss_forward#

Function Documentation#

inline ::std::tuple<at::Tensor, at::Tensor> at::nll_loss_forward(const at::Tensor &self, const at::Tensor &target, const ::std::optional<at::Tensor> &weight, int64_t reduction, int64_t ignore_index)#