code: def _choose_next_op(environment, backend):
      # At each step, execute the instruction whose program counter is
      # smallest (among those that have logical threads).
      return backend.reduce_min(environment.read(inst.pc_var))
  
file_path: probability/tensorflow_probability/python/experimental/auto_batching/virtual_machine.py
imports: import contextlib
  import functools
  from absl import logging
  import six
  from tensorflow_probability.python.experimental.auto_batching import instructions
label_desc: Use image node_id 5 for calling a global function with example usage: _choose_next_op(environment, backend) and returns: backend