code: def set_default_configs(self):
      # note: self.config['input'] is a descriptor, '[-1]' means output
      # the most recent layer.
      self.config = {
          "input": "[-1]",
          "dim": -1,
          "max-change": 0.75,
          "self-repair-scale": 1.0e-05,
          "target-rms": 1.0,
          "learning-rate-factor": 1.0,
          "ng-affine-options": "",
          "l2-regularize": 0.0,
          "num-left-inputs-required": -1,
          "num-right-inputs-required": -1,
          "output-context": True,
          "time-stride": 1,
          "num-heads": 1,
          "key-dim": -1,
          "key-scale": 0.0,
          "value-dim": -1,
          "num-left-inputs": -1,
          "num-right-inputs": -1,
          "dropout-proportion": 0.5,
      }
  
file_path: espnet/egs2/m_ailabs/tts1/steps/libs/nnet3/xconfig/attention.py
imports: from __future__ import print_function
  from __future__ import division
  import math
  import re
  import sys
  from libs.nnet3.xconfig.basic_layers import XconfigLayerBase
label_desc: Use image node_id 2 for calling the XconfigAttentionLayer obj's underlying member method code with example usage: obj.set_default_configs() without return types