class_docstr: Compute and apply CMVN to features.
class_docstr_tok: ["Compute","and","apply","CMVN","to","features","."]
docstr: Set params.
  :param config: contains seven optional parameters:
          --norm_means   : Flag of norm_means. (bool, default=True)
          --norm_vars    : Flag of norm_vars. (bool, default=False)
          --utt2spk      : Use for speaker CMVN. (string, default=None)
          --spk2utt      : Rspecifier for speaker to utterance-list map.
                          (string, default=None)
          --reverse      : Flag of reverse. (bool, default=False)
          --std_floor    : Floor to std. (float, default=1.0e-20)
          --filetype     : Type of input file. (string, default='mat')
  :return:
docstr_tok: ["Set","params",".",":","param","config",":","contains","seven","optional","parameters",":","--","norm_means",":","Flag","of","norm_means",".","(","bool",",","default=True",")","--","norm_vars",":","Flag","of","norm_vars",".","(","bool",",","default=False",")","--","utt2spk",":","Use","for","speaker","CMVN",".","(","string",",","default=None",")","--","spk2utt",":","Rspecifier","for","speaker","to","utterance-list","map",".","(","string",",","default=None",")","--","reverse",":","Flag","of","reverse",".","(","bool",",","default=False",")","--","std_floor",":","Floor","to","std",".","(","float",",","default=1.0e-20",")","--","filetype",":","Type","of","input","file",".","(","string",",","default='mat","'",")",":","return",":"]
code: def params(cls, config=None):
      """
      Set params.
      :param config: contains seven optional parameters:
              --norm_means   : Flag of norm_means. (bool, default=True)
              --norm_vars    : Flag of norm_vars. (bool, default=False)
              --utt2spk      : Use for speaker CMVN. (string, default=None)
              --spk2utt      : Rspecifier for speaker to utterance-list map.
                              (string, default=None)
              --reverse      : Flag of reverse. (bool, default=False)
              --std_floor    : Floor to std. (float, default=1.0e-20)
              --filetype     : Type of input file. (string, default='mat')
      :return:
      """
      norm_means = True
      norm_vars = False
      utt2spk = None
      spk2utt = None
      reverse = False
      std_floor = 1.0e-20
      filetype = "mat"
  
      hparams = HParams(cls=cls)
      hparams.add_hparam("norm_means", norm_means)
      hparams.add_hparam("norm_vars", norm_vars)
      hparams.add_hparam("utt2spk", utt2spk)
      hparams.add_hparam("spk2utt", spk2utt)
      hparams.add_hparam("reverse", reverse)
      hparams.add_hparam("std_floor", std_floor)
      hparams.add_hparam("filetype", filetype)
  
      if config is not None:
          hparams.override_from_dict(config)
  
      return hparams
  
file_path: delta/delta/data/frontend/cmvn.py
imports: import io
  import kaldiio
  import numpy
  from delta.utils.hparam import HParams
  from delta.data.frontend.base_frontend import BaseFrontend
label_desc: Use image node_id 2 for calling the CMVN obj's underlying member method code with example usage: obj.params(cls, config) and returns: hparams