天天看点

tf.Graph().get_operations

get_operations() method of tensorflow.python.framework.ops.Graph instance

    Return the list of operations in the graph.

    You can modify the operations in place, but modifications

    to the list such as inserts/delete have no effect on the

    list of operations known to the graph.

    This method may be called concurrently from multiple threads.

    Returns:

      A list of Operations.

继续阅读