code: def by_name(
      cls,
      dense_model_name: str,
      quantizer_model_name: str,
      vocab_size: int,
      vocoder_suffix: str = None,
      speaker_meta: bool = False,
      style_meta: bool = False,
  ):
      # Get hifigan checkpoint name and path
      hifigan_checkpoint_name = f"{dense_model_name}-{quantizer_model_name}-{vocab_size}-hifigan"
      if vocoder_suffix is not None:
          hifigan_checkpoint_name += "-" + vocoder_suffix
      hifigan_checkpoint_path = CHECKPOINT_MANAGER.get_by_name(
          hifigan_checkpoint_name
      )
  
      # Get hifigan config name and path
      hifigan_config_name = f"{hifigan_checkpoint_name}-config"
      hifigan_config_path = CHECKPOINT_MANAGER.get_by_name(
          hifigan_config_name
      )
  
      # Get hifigan speaker metadata name and path
      hifigan_speaker_path = None
      if speaker_meta:
          hifigan_speaker_name = f"{hifigan_checkpoint_name}-speakers"
          hifigan_speaker_path = CHECKPOINT_MANAGER.get_by_name(
              hifigan_speaker_name
          )
  
      # Get hifigan style metadata name and path
      hifigan_style_path = None
      if style_meta:
          hifigan_style_name = f"{hifigan_checkpoint_name}-styles"
          hifigan_style_path = CHECKPOINT_MANAGER.get_by_name(
              hifigan_style_name
          )
  
      return cls(
          hifigan_checkpoint_path,
          hifigan_config_path,
          hifigan_speaker_path,
          hifigan_style_path,
      )
  
file_path: textlesslib/textless/vocoders/hifigan/vocoder.py
imports: import torch
  import torch.nn
  import numpy
  from .generator import CodeGenerator
  import json
  from typing import Union
  from pathlib import Path
  from textless.checkpoint_manager import CHECKPOINT_MANAGER
label_desc: Use image node_id 5 for calling the CodeHiFiGANVocoder obj's underlying member method code with example usage: obj.by_name(cls, dense_model_name, quantizer_model_name, vocab_size, vocoder_suffix, speaker_meta, style_meta) and returns: cls