code: def test_decoding_type_change(self, hybrid_asr_model):
      assert isinstance(
          hybrid_asr_model.decoding.decoding,
          greedy_decode.GreedyBatchedRNNTInfer,
      )
  
      new_strategy = DictConfig({})
      new_strategy.strategy = "greedy"
      new_strategy.greedy = DictConfig({"max_symbols": 10})
      hybrid_asr_model.change_decoding_strategy(
          decoding_cfg=new_strategy, decoder_type="rnnt"
      )
      assert isinstance(
          hybrid_asr_model.decoding.decoding,
          greedy_decode.GreedyRNNTInfer,
      )
      assert hybrid_asr_model.cur_decoder == "rnnt"
  
      hybrid_asr_model.change_decoding_strategy(
          decoding_cfg=new_strategy, decoder_type="ctc"
      )
      assert isinstance(hybrid_asr_model.ctc_decoding, CTCBPEDecoding)
      assert hybrid_asr_model.cur_decoder == "ctc"
  
      hybrid_asr_model.change_decoding_strategy(
          decoding_cfg=new_strategy, decoder_type="rnnt"
      )
      assert isinstance(
          hybrid_asr_model.decoding.decoding,
          greedy_decode.GreedyRNNTInfer,
      )
      assert hybrid_asr_model.cur_decoder == "rnnt"
  
imports: import os
  import shutil
  import tempfile
  import pytest
  import torch
  from omegaconf import DictConfig
  from nemo.collections.asr.models.hybrid_rnnt_ctc_bpe_models import EncDecHybridRNNTCTCBPEModel
  from nemo.collections.asr.parts.submodules import rnnt_beam_decoding
  from nemo.collections.asr.parts.submodules import rnnt_greedy_decoding
  from nemo.collections.asr.parts.submodules.ctc_decoding import CTCBPEDecoding, CTCBPEDecodingConfig
  from nemo.collections.common import tokenizers
  from nemo.core.utils import numba_utils
  from nemo.core.utils.numba_utils import __NUMBA_MINIMUM_VERSION__
label_desc: Use image node_id 8 for calling the TestEncDecHybridRNNTCTCBPEModel obj's underlying member method code with example usage: obj.test_decoding_type_change(hybrid_asr_model) without return types