code: def test_pytorch_freezable():
      from espnet.nets.pytorch_backend.e2e_asr import E2E
  
      idim, odim, ilens, olens = get_default_scope_inputs()
      args = get_rnn_args(freeze_mods="enc.enc.0.")
  
      model = E2E(idim, odim, args)
      model, model_params = freeze_modules(model, args.freeze_mods)
  
      model.train()
  
file_path: espnet/test/test_asr_init.py
imports: import argparse
  import json
  import os
  import tempfile
  import numpy
  import pytest
  import torch
  import espnet.nets.pytorch_backend.lm.default
  from espnet.asr.asr_utils import torch_save
  from espnet.asr.pytorch_backend.asr_init import freeze_modules, load_trained_modules
  from espnet.nets.beam_search_transducer import BeamSearchTransducer
  from espnet.nets.pytorch_backend.nets_utils import pad_list
label_desc: Use image node_id 7 for calling a global function with example usage: test_pytorch_freezable() without return types