class_docstr: MultiHeadDampedEMA module definition.
  
  Args:
      size: Module size.
      num_heads: Number of attention heads.
      activation: Activation function type.
      truncation_length: Maximum length for truncation.
docstr: Get EMA coefficients.
  
  Args:
      None
  
  Returns:
      : Damping factor / P-th order coefficient. (size, num_heads, 1)
      : Previous timestep weight / Q-th order coefficient. (size, num_heads, 1)
code: def get_ema_coefficients(self) -> Tuple[torch.Tensor, torch.Tensor]:
      """Get EMA coefficients.
  
      Args:
          None
  
      Returns:
          : Damping factor / P-th order coefficient. (size, num_heads, 1)
          : Previous timestep weight / Q-th order coefficient. (size, num_heads, 1)
  
      """
      if self._coeffs is None:
          self._coeffs = self.compute_ema_coefficients()
  
      return self._coeffs
  
file_path: espnet/espnet2/asr_transducer/decoder/modules/mega/multi_head_damped_ema.py
imports: import math
  from typing import Dict, Optional, Tuple, Union
  import torch
label_desc: Use image node_id 5 for calling the MultiHeadDampedEMA obj's underlying member method code with example usage: obj.get_ema_coefficients() and returns: self