tf.contrib.graph_editor.ControlOutputs
Stay organized with collections
Save and categorize content based on your preferences.
The control outputs topology.
tf.contrib.graph_editor.ControlOutputs(
graph
)
Raises |
TypeError
|
graph is not a tf.Graph .
|
Methods
get
View source
get(
op
)
return the control outputs of op.
get_all
View source
get_all()
update
View source
update()
Update the control outputs if the graph has changed.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.graph_editor.ControlOutputs\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L338-L390) |\n\nThe control outputs topology. \n\n tf.contrib.graph_editor.ControlOutputs(\n graph\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------|------------------------------------|\n| `graph` | a [`tf.Graph`](../../../tf/Graph). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|-------------|-------------------------------------------------|\n| `TypeError` | graph is not a [`tf.Graph`](../../../tf/Graph). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|---------|---------------|\n| `graph` | \u003cbr /\u003e \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `get`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L381-L386) \n\n get(\n op\n )\n\nreturn the control outputs of op.\n\n### `get_all`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L378-L379) \n\n get_all()\n\n### `update`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/graph_editor/util.py#L360-L364) \n\n update()\n\nUpdate the control outputs if the graph has changed."]]