class_docstr: Cross entropy loss with soft target.
code: def forward(self, x: torch.Tensor, y: torch.Tensor) -> torch.Tensor:
      loss = torch.sum(-y * F.log_softmax(x, dim=-1), dim=-1)
      if self.reduction == "mean":
          return loss.mean()
      elif self.reduction == "none":
          return loss
      else:
          raise NotImplementedError
  
imports: from typing import List
  import pytorchvideo_trainer.module.distributed_utils
  import torch
  import torch.nn
  import torch.nn.functional
  from pytorchvideo.layers.utils import set_attributes
label_desc: Use image node_id 2 for calling the SoftTargetCrossEntropy obj's underlying member method code with example usage: obj.forward(x, y) and returns: loss, loss