class_docstr: Default is Arcface loss
      
docstr_tok: []
code: def __init__(
      self, margins=(1.0, 0.5, 0.0), loss_s=64, embedding_size=512
  ):
      """ """
      # margins
      self.loss_m1 = margins[0]
      self.loss_m2 = margins[1]
      self.loss_m3 = margins[2]
      self.loss_s = loss_s
      self.embedding_size = embedding_size
  
imports: import mxnet
  from mxnet import autograd
  from mxnet import nd
label_desc: Use image node_id 1 to create a new MarginLoss object from inherited base classes: object with example: obj = MarginLoss(margins, loss_s, embedding_size)