code: def __init__(self, s=64.0, m=0.40):
      super(CosFace, self).__init__()
      self.s = s
      self.m = m
  
file_path: insightface/recognition/idmmd/losses.py
imports: import torch
  from torch import nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new CosFace object from inherited base classes: torch.nn with example: obj = CosFace(s, m)