Spec-Zone.ru › TensorFlow 1.15

tf.contrib.graph_editor.filter_ops

Получить операции, проходящие заданный фильтр.

tf.contrib.graph_editor.filter_ops(
    ops, positive_filter
)
Аргументы
ops объект, преобразуемый в список tf.Operation.
positive_filter функция, определяющая, сохранять операцию или нет. Если True, возвращаются все операции.
Возвращает
Список выбранных tf.Operation.
Исключения
TypeError если операции нельзя преобразовать в список tf.Operation.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/graph_editor/filter_ops

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API