Save the date! Google I/O returns May 18-20 Register now

tf.contrib.graph_editor.filter_ops

View source on GitHub

Get the ops passing the given filter.

ops an object convertible to a list of tf.Operation.
positive_filter a function deciding where to keep an operation or not. If True, all the operations are returned.

A list of selected tf.Operation.

TypeError if ops cannot be converted to a list of tf.Operation.