class_docstr: Defines parameters for a Generic Encoder model.
class_docstr_tok: ["Defines","parameters","for","a","Generic","Encoder","model","."]
code: def check_values(self):
      super().check_values()
      c = asdict(self)
      assert (
          c["model_params"]["input_dim"] == self.audio.num_mels
      ), " [!] model input dimendion must be equal to melspectrogram dimension."
  
imports: from dataclasses import asdict, dataclass, field
  from typing import Dict, List
  from coqpit import MISSING
  from TTS.config.shared_configs import BaseAudioConfig, BaseDatasetConfig, BaseTrainingConfig
label_desc: Use image node_id 1 for calling the BaseEncoderConfig obj's underlying member method code with example usage: obj.check_values() without return types