docstr: Set params.
  :param config: contains three optional parameters:window_length(float, default=0.030),
        frame_length(float, default=0.010), sample_rate(float, default=16000).
  :return:An object of class HParams, which is a set of hyperparameters as name-value pairs.
docstr_tok: ["Set","params",".",":","param","config",":","contains","three","optional","parameters",":","window_length","(","float",",","default=0.030",")",",","frame_length","(","float",",","default=0.010",")",",","sample_rate","(","float",",","default=16000",")",".",":","return",":","An","object","of","class","HParams",",","which","is","a","set","of","hyperparameters","as","name-value","pairs","."]
code: def params(cls, config=None):
      """
      Set params.
      :param config: contains three optional parameters:window_length(float, default=0.030),
            frame_length(float, default=0.010), sample_rate(float, default=16000).
      :return:An object of class HParams, which is a set of hyperparameters as name-value pairs.
      """
      window_length = 0.030
      frame_length = 0.010
      sample_rate = 16000
  
      hparams = HParams(cls=cls)
      hparams.add_hparam("window_length", window_length)
      hparams.add_hparam("frame_length", frame_length)
      hparams.add_hparam("sample_rate", sample_rate)
  
      if config is not None:
          hparams.override_from_dict(config)
  
      return hparams
  
file_path: delta/delta/data/frontend/synthfiltbank.py
imports: import delta.compat
  from core.ops import py_x_ops
  from delta.utils.hparam import HParams
  from delta.data.frontend.base_frontend import BaseFrontend
label_desc: Use image node_id 2 for calling the Synthfiltbank obj's underlying member method code with example usage: obj.params(cls, config) and returns: hparams