code: def _update_se_context_window(
      model: "ASRModel",
      context_window: int,
      cfg: Optional[DictConfig] = None,
  ):
      jasper_block_counter = -1
      for name, m in model.named_modules():
          if type(m) == jasper.JasperBlock:
              jasper_block_counter += 1
  
          if type(m) == jasper.MaskedConv1d:
              if m.conv.stride[0] > 1 and "mconv" in name:
                  context_window = context_window // m.conv.stride[0]
  
          if type(m) == jasper.SqueezeExcite:
              m.change_context_window(context_window=context_window)
  
              # update config
              if cfg is not None:
                  cfg.jasper[
                      jasper_block_counter
                  ].se_context_size = context_window
  
imports: from typing import Optional
  from omegaconf import DictConfig, open_dict
  from nemo.collections.asr.modules import conv_asr
  from nemo.collections.asr.parts.submodules import jasper
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling a global function with example usage: _update_se_context_window(model, context_window, cfg) without return types