class_docstr: A speaker model with ResNet layers. 
class_docstr_tok: ["A","speaker","model","with","ResNet","layers","."]
code: def params(cls, config: dict = None):
      embedding_size = 512
  
      # hp = HParams(cls=cls)
      hp = HParams(cls=cls)
      hp.add_hparam("embedding_size", embedding_size)
  
      if config is not None:
          hp.override_from_dict(config)
      return hp
  
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 1 for calling the SpeakerResNetRawModel obj's underlying member method code with example usage: obj.params(cls, config) and returns: hp