class_docstr: Implementation of https://www.ecva.net/papers/eccv_2020/papers_ECCV/papers/123560715.pdf
code: def __init__(
      self, *args, margin=28.6, scale=64, sub_centers=3, **kwargs
  ):
      num_classes, embedding_size = (
          kwargs["num_classes"],
          kwargs["embedding_size"],
      )
      super().__init__(
          num_classes * sub_centers,
          embedding_size,
          margin=margin,
          scale=scale,
      )
      self.sub_centers = sub_centers
      self.num_classes = num_classes
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/subcenter_arcface_loss.py
imports: import math
  import numpy
  import torch
  from ..utils import common_functions
  from .arcface_loss import ArcFaceLoss
label_desc: Use image node_id 1 to create a new SubCenterArcFaceLoss object from inherited base classes: ArcFaceLoss with example: obj = SubCenterArcFaceLoss()