class_docstr: Defines the Global Style Token Module
  
  Args:
      gst_style_input_wav (str):
          Path to the wav file used to define the style of the output speech at inference. Defaults to None.
  
      gst_style_input_weights (dict):
          Defines the weights for each style token used at inference. Defaults to None.
  
      gst_embedding_dim (int):
          Defines the size of the GST embedding vector dimensions. Defaults to 256.
  
      gst_num_heads (int):
          Number of attention heads used by the multi-head attention. Defaults to 4.
  
      gst_num_style_tokens (int):
          Number of style token vectors. Defaults to 10.
class_docstr_tok: ["Defines","the","Global","Style","Token","Module","Args",":","gst_style_input_wav","(","str",")",":","Path","to","the","wav","file","used","to","define","the","style","of","the","output","speech","at","inference",".","Defaults","to","None",".","gst_style_input_weights","(","dict",")",":","Defines","the","weights","for","each","style","token","used","at","inference",".","Defaults","to","None",".","gst_embedding_dim","(","int",")",":","Defines","the","size","of","the","GST","embedding","vector","dimensions",".","Defaults","to","256.","gst_num_heads","(","int",")",":","Number","of","attention","heads","used","by","the","multi-head","attention",".","Defaults","to","4.","gst_num_style_tokens","(","int",")",":","Number","of","style","token","vectors",".","Defaults","to","10","."]
docstr: Check config fields
docstr_tok: ["Check","config","fields"]
code: def check_values(
      self,
  ):
      """Check config fields"""
      c = asdict(self)
      super().check_values()
      check_argument("gst_style_input_weights", c, restricted=False)
      check_argument("gst_style_input_wav", c, restricted=False)
      check_argument(
          "gst_embedding_dim",
          c,
          restricted=True,
          min_val=0,
          max_val=1000,
      )
      check_argument("gst_use_speaker_embedding", c, restricted=False)
      check_argument(
          "gst_num_heads", c, restricted=True, min_val=2, max_val=10
      )
      check_argument(
          "gst_num_style_tokens",
          c,
          restricted=True,
          min_val=1,
          max_val=1000,
      )
  
file_path: TTS/TTS/tts/configs/shared_configs.py
imports: from dataclasses import asdict, dataclass, field
  from typing import Dict, List
  from coqpit import Coqpit, check_argument
  from TTS.config import BaseAudioConfig, BaseDatasetConfig, BaseTrainingConfig
label_desc: Use image node_id 1 for calling the GSTConfig obj's underlying member method code with example usage: obj.check_values() without return types