code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
      assert self.distance.is_inverted
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/regularizers/regular_face_regularizer.py
imports: import torch
  from ..distances import CosineSimilarity
  from ..utils import common_functions
  from .base_regularizer import BaseRegularizer
label_desc: Use image node_id 1 to create a new RegularFaceRegularizer object from inherited base classes: BaseRegularizer with example: obj = RegularFaceRegularizer()