Log sum likelihood in Pytorch

83 views Asked by At

I have just started working with Pytorch and ML stuff. I have a loss function as below:

Loss function

I guess I can implement the first term with nn.GaussianNLLLoss, but does anyone know how can I implement the second term which is the log of sum gaussian likelihood?

0

There are 0 answers