class_docstr: This class handles iteration events to interpret output.
docstr: Event handler to add all tensors to evaluate to the iteration message.
  The driver will fetch tensors' values from
  ``_iter_msg.ops_to_run``.
  
  :param sender: a niftynet.application instance
  :param msg: an iteration message instance
  :return:
docstr_tok: ["Event","handler","to","add","all","tensors","to","evaluate","to","the","iteration","message",".","The","driver","will","fetch","tensors","'","values","from","``","_iter_msg.ops_to_run","``",".",":","param","sender",":","a","niftynet.application","instance",":","param","msg",":","an","iteration","message","instance",":","return",":"]
code: def set_tensors_to_run(self, sender, **msg):
      """
      Event handler to add all tensors to evaluate to the iteration message.
      The driver will fetch tensors' values from
      ``_iter_msg.ops_to_run``.
  
      :param sender: a niftynet.application instance
      :param msg: an iteration message instance
      :return:
      """
      _iter_msg = msg["iter_msg"]
      _iter_msg.ops_to_run[
          NETWORK_OUTPUT
      ] = sender.outputs_collector.variables(NETWORK_OUTPUT)
  
      # modifying `_iter_msg` using applications's set_iteration_update
      sender.set_iteration_update(_iter_msg)
  
imports: from niftynet.engine.application_variables import NETWORK_OUTPUT
  from niftynet.engine.signal import ITER_STARTED, ITER_FINISHED
label_desc: Use image node_id 2 for calling the OutputInterpreter obj's underlying member method code with example usage: obj.set_tensors_to_run(sender) without return types