code: def __init__(self, ignore_index=255):
      super(ConsistencyLoss, self).__init__()
      self.ignore_index = ignore_index
  
file_path: insightface/parsing/dml_csr/loss/consistency_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 ConsistencyLoss object from inherited base classes: nn with example: obj = ConsistencyLoss(ignore_index)