code: def __init__(
      self, risk_strategy="exp", group_strategy="end", risk_factor=0.0
  ):
      super().__init__()
  
      assert risk_strategy in [
          "exp",
          "exp_rel",
      ], "Unknown risk_strategy for BRCTC"
      assert group_strategy in [
          "end",
          "end_mean",
      ], "Unknown group_strategy for BRCTC"
  
      self.risk_strategy = risk_strategy
      self.group_strategy = group_strategy
      self.risk_factor = risk_factor
  
file_path: espnet/espnet2/asr/bayes_risk_ctc.py
imports: import logging
  import _k2
  import k2
  import torch
label_desc: Use image node_id 1 to create a new BayesRiskCTC object from inherited base classes: torch.nn with example: obj = BayesRiskCTC(risk_strategy, group_strategy, risk_factor)