parameters: (ts)
return_statement: return ops
docstring: Return all the consuming ops of the tensors in ts.
  
    Args:
      ts: a list of tf.Tensor
    Returns:
      A list of all the consuming tf.Operation of the tensors in ts.
    Raises:
      TypeError: if ts cannot be converted to a list of tf.Tensor.
docstring_summary: Return all the consuming ops of the tensors in ts.
docstring_tokens: Return all the consuming ops of the tensors in ts .
function: def get_consuming_ops(ts):
    """Return all the consuming ops of the tensors in ts.
  
    Args:
      ts: a list of tf.Tensor
    Returns:
      A list of all the consuming tf.Operation of the tensors in ts.
    Raises:
      TypeError: if ts cannot be converted to a list of tf.Tensor.
    """
    ts = make_list_of_t(ts, allow_graph=False)
    ops = []
    for t in ts:
      for op in t.consumers():
        if op not in ops:
          ops.append(op)
    return ops
function_tokens: def get_consuming_ops ( ts ) : ts = make_list_of_t ( ts , allow_graph = False ) ops = [ ] for t in ts : for op in t . consumers ( ) : if op not in ops : ops . append ( op ) return ops