code: def test_load_twice():
      from nnabla.ext_utils import (
          list_extensions,
          get_extension_context,
      )
  
      exts = list_extensions()
      if "cudnn" not in exts:
          pytest.skip("This test is only for cudnn context!")
  
      with create_temp_with_dir("network.nntxt") as fn:
          with open(fn, "w") as f:
              f.write(nntxt)
          ctx = get_extension_context("cudnn")
          nn.set_default_context(ctx)
          nnp = nnp_graph.NnpLoader(fn)
          for network_name in sorted(nnp.get_network_names()):
              print(network_name)
              network = nnp.get_network(network_name, batch_size=32)
  
          for network_name in sorted(nnp.get_network_names()):
              print(network_name)
              network = nnp.get_network(network_name, batch_size=32)
  
imports: import pytest
  import nnabla
  from helper import create_temp_with_dir
  from nnabla.utils import nnp_graph
label_desc: Use image node_id 1 for calling a global function with example usage: test_load_twice() without return types