code: def __init__(self, ignore_index=255, T=1):
      super(KLDivergenceLoss, self).__init__()
      self.ignore_index = ignore_index
      self.T = T
  
file_path: insightface/parsing/dml_csr/loss/kl_loss.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import torch
  import torch.nn.functional
  from torch import nn
label_desc: Use image node_id 1 to create a new KLDivergenceLoss object from inherited base classes: nn with example: obj = KLDivergenceLoss(ignore_index, T)