code: def set_iteration_update(msg):
      msg.ops_to_run[
          NETWORK_OUTPUT
      ] = tf.get_default_graph().get_tensor_by_name(
          "G/conv_bn_selu/conv_/w:0"
      )
  
file_path: NiftyNet/tests/handler_network_output_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.engine.application_iteration import IterationMessageGenerator
  from niftynet.engine.application_variables import NETWORK_OUTPUT
  from tests.application_driver_test import get_initialised_driver
  from niftynet.engine.signal import SESS_STARTED
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 1 for calling a global function with example usage: set_iteration_update(msg) without return types