tf.contrib.graph_editor.get_generating_ops

tf.contrib.graph_editor.get_generating_ops(ts)

Defined in tensorflow/contrib/graph_editor/util.py.

See the guide: Graph Editor (contrib) > Module: util

Return all the generating ops of the tensors in ts.

Args:

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.