code: def shared_resources():
      """Returns resources visible to all tasks in the cluster."""
      return ops.get_collection(ops.GraphKeys.RESOURCES)
  
file_path: tensorflow/tensorflow/python/ops/resources.py
imports: import collections
  import os
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.util import tf_should_use
label_desc: Use image node_id 2 for calling a global function with example usage: shared_resources() and returns: ops