tf.compat.v1.graph_util.extract_sub_graph
Извлечь подграф, который может достичь любого из узлов в 'dest_nodes'. (устаревшая функция)
tf.compat.v1.graph_util.extract_sub_graph(
graph_def, dest_nodes
)
| Аргументы | |
|---|---|
graph_def | Объект прото GraphDef. |
dest_nodes | Список строк, определяющих имена узлов назначения. |
| Возвращает | |
|---|---|
| GraphDef подграфа. |
| Исключения | |
|---|---|
TypeError | Если 'graph_def' не является объектом прото GraphDef. |
© 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/r2.3/api_docs/python/tf/compat/v1/graph_util/extract_sub_graph