code: def __init__(self, m1=1.0, m2=0.0, m3=0.35, s=64.0):
      super(CosFace, self).__init__()
      self.margin1 = m1
      self.margin2 = m2
      self.margin3 = m3
      self.scale = s
  
file_path: insightface/recognition/arcface_paddle/utils/losses.py
label_desc: Use image node_id 1 to create a new CosFace object from inherited base classes: object with example: obj = CosFace(m1, m2, m3, s)