code: def replace_bn_with_fused_bn(module: nn.Module, full_layer_name: str):
      """
      Replace BatchNorm1d named `full_layer_name` in nn.Module with FusedBatchNorm1d
      Args:
          module: nn.Module instance, modified inplace
          full_layer_name: name of BatchNorm1d submodule in module to replace
      """
      bn = _get_module_by_name(module, full_layer_name)
      assert isinstance(bn, nn.BatchNorm1d)
      fused_bn = FusedBatchNorm1d.from_batchnorm(bn)
      try:
          parent_name, norm_name = full_layer_name.rsplit(
              ".", maxsplit=1
          )
          setattr(
              _get_module_by_name(module, parent_name),
              norm_name,
              fused_bn,
          )
      except ValueError:
          norm_name = full_layer_name
          setattr(module, norm_name, fused_bn)
  
file_path: NeMo/nemo/collections/asr/parts/submodules/batchnorm.py
imports: from __future__ import annotations
  from functools import reduce
  from typing import List
  import torch
  import torch.nn
label_desc: Use image node_id 2 for calling a global function with example usage: replace_bn_with_fused_bn(module, full_layer_name) without return types