code: def register_read_only_resource_op(op_type):
      """Declares that `op_type` does not update its touched resource."""
      RESOURCE_READ_OPS.add(op_type)
  
file_path: tensorflow-upstream/tensorflow/python/framework/auto_control_deps_utils.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 1 for calling a global function with example usage: register_read_only_resource_op(op_type) without return types