I have just started working with Pytorch and ML stuff. I have a loss function as below:
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?