code: def get_generating_ops(ts):
      """Return all the generating ops of the tensors in `ts`.
  
      Args:
        ts: a list of `tf.Tensor`
      Returns:
        A list of all the generating `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)
      return [t.op for t in ts]
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 8 for calling a global function with example usage: get_generating_ops(ts) and returns: unknown