code: def get_control_consumers(op):
      """
      Get a flat list of the control-dependency consumers ([B]) of the op (A).
  
      A: [B]
      A --> B
      B depends on A
  
      Args:
          op: TensorFlow Operator
  
      Returns:
          List[Operation]: The list of control-dependency consumers
      """
      return op._control_outputs
  
file_path: autodist/autodist/kernel/common/utils.py
imports: from collections import deque
  from tensorflow.core.framework.attr_value_pb2 import AttrValue
  from tensorflow.python.util.compat import as_bytes
  from autodist.const import AUTODIST_REPLICA_PREFIX, COLOCATION_PREFIX
label_desc: Use image node_id 7 for calling a global function with example usage: get_control_consumers(op) and returns: op