class_docstr: Base class for speaker models.
class_docstr_tok: ["Base","class","for","speaker","models","."]
docstr: ArcFace layer. 
docstr_tok: ["ArcFace","layer","."]
code: def arcface_layer(self, inputs, labels, output_num, weights):
      """ArcFace layer."""
      params = self.netconf["arcface_params"]
      s = params["scale"]
      m = params["margin"]
      limit_to_pi = params["limit_to_pi"]
      return arcface_loss(
          inputs,
          labels,
          output_num,
          weights,
          s=s,
          m=m,
          limit_to_pi=limit_to_pi,
      )
  
imports: import math
  from absl import logging
  import delta.compat
  import tensorflow.keras.layers
  from delta import utils
  from delta.layers import common_layers
  from delta.models.base_model import RawModel
  from delta.utils.register import registers
  from delta.utils.loss.loss_utils import arcface_loss
  from delta.utils.hparam import HParams
label_desc: Use image node_id 9 for calling the SpeakerBaseRawModel obj's underlying member method code with example usage: obj.arcface_layer(inputs, labels, output_num, weights) and returns: arcface_loss