diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-01-28 04:32:51 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-01-28 04:45:36 -0800 |
commit | 452644d3f3f832b32c69fc57996a003c63ac704e (patch) | |
tree | d7b8689f4a9cbaacd363c2e3bd26f8c68ec7fc8f /tensorflow/g3doc/api_docs/python/array_ops.md | |
parent | 594fe197bd3447eef4ba11ae32266bef0ffcc023 (diff) |
Update generated Python Op docs.
Change: 145879964
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/array_ops.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/array_ops.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/array_ops.md b/tensorflow/g3doc/api_docs/python/array_ops.md index cb30382c6b..925f2a444c 100644 --- a/tensorflow/g3doc/api_docs/python/array_ops.md +++ b/tensorflow/g3doc/api_docs/python/array_ops.md @@ -3140,3 +3140,37 @@ Compute gradients for a FakeQuantWithMinMaxVarsPerChannel operation. +- - - + +### `tf.contrib.graph_editor.copy(sgv, dst_graph=None, dst_scope='', src_scope='', reuse_dst_scope=False)` {#copy} + +Copy a subgraph. + +##### Args: + + +* <b>`sgv`</b>: the source subgraph-view. This argument is converted to a subgraph + using the same rules than the function subgraph.make_view. +* <b>`dst_graph`</b>: the destination graph. +* <b>`dst_scope`</b>: the destination scope. +* <b>`src_scope`</b>: the source scope. +* <b>`reuse_dst_scope`</b>: if True the dst_scope is re-used if it already exists. + Otherwise, the scope is given a unique name based on the one given + by appending an underscore followed by a digit (default). + +##### Returns: + + A tuple `(sgv, info)` where: + `sgv` is the transformed subgraph view; + `info` is an instance of TransformerInfo containing + information about the transform, including mapping between + original and transformed tensors and operations. + +##### Raises: + + +* <b>`TypeError`</b>: if `dst_graph` is not a `tf.Graph`. +* <b>`StandardError`</b>: if sgv cannot be converted to a SubGraphView using + the same rules than the function subgraph.make_view. + + |