code: def prepare_model(model):
      with get_saved_test_model(model) as nnp_file:
          nnp = nnp_graph.NnpLoader(nnp_file)
      return nnp
  
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  import nnabla.parametric_functions
  from nnabla.testing import assert_allclose
  from helper import get_saved_test_model, forward_variable_and_check_equal, forward_variable, assert_topology, dump_network_topology
  import legacy_nnp_graph
  from nnabla.utils import nnp_graph
label_desc: Use image node_id 3 for calling a global function with example usage: prepare_model(model) and returns: nnp