diff --git a/tensorflow/g3doc/api_docs/python/contrib.graph_editor.md b/tensorflow/g3doc/api_docs/python/contrib.graph_editor.md index 29fe9703a5c..303a99020c5 100644 --- a/tensorflow/g3doc/api_docs/python/contrib.graph_editor.md +++ b/tensorflow/g3doc/api_docs/python/contrib.graph_editor.md @@ -529,7 +529,7 @@ Return all the `tf.Operation` which are connected to an op in ops. - - - -### `tf.contrib.graph_editor.compute_boundary_ts(ops, ambiguous_ts_are_outputs=True)` {#compute_boundary_ts} +### `tf.contrib.graph_editor.compute_boundary_ts(ops)` {#compute_boundary_ts} Compute the tensors at the boundary of a set of ops. @@ -539,14 +539,13 @@ and classify them into three categories: 2) output tensors: tensors whose consumer operations are not in ops 3) inside tensors: tensors which are neither input nor output tensors. +Note that a tensor can be both an inside tensor and an output tensor if it is +consumed by operations both outside and inside of `ops`. + ##### Args: * `ops`: an object convertible to a list of tf.Operation. -* `ambiguous_ts_are_outputs`: a tensor can have consumers both inside and - outside ops. Such tensors are treated as outside tensor if - ambiguous_ts_are_outputs is True, otherwise they are treated as - inside tensor. ##### Returns: @@ -554,6 +553,8 @@ and classify them into three categories: `outside_input_ts` is a Python list of input tensors; `outside_output_ts` is a python list of output tensors; `inside_ts` is a python list of inside tensors. + Since a tensor can be both an inside tensor and an output tensor, + `outside_output_ts` and `inside_ts` might intersect. ##### Raises: @@ -1053,6 +1054,13 @@ The connected output tensors of this subgraph view. Return a Python set of all the consumers of this subgraph view. +A consumer of a subgraph view is a tf.Operation which is a consumer +of one of the output tensors and is not in the subgraph. + +##### Returns: + + A list of `tf.Operation` which are the consumers of this subgraph view. + - - - diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.graph_editor.compute_boundary_ts.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.graph_editor.compute_boundary_ts.md index 9b92e9c2735..27ad95be99a 100644 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.graph_editor.compute_boundary_ts.md +++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.contrib.graph_editor.compute_boundary_ts.md @@ -1,4 +1,4 @@ -### `tf.contrib.graph_editor.compute_boundary_ts(ops, ambiguous_ts_are_outputs=True)` {#compute_boundary_ts} +### `tf.contrib.graph_editor.compute_boundary_ts(ops)` {#compute_boundary_ts} Compute the tensors at the boundary of a set of ops. @@ -8,14 +8,13 @@ and classify them into three categories: 2) output tensors: tensors whose consumer operations are not in ops 3) inside tensors: tensors which are neither input nor output tensors. +Note that a tensor can be both an inside tensor and an output tensor if it is +consumed by operations both outside and inside of `ops`. + ##### Args: * `ops`: an object convertible to a list of tf.Operation. -* `ambiguous_ts_are_outputs`: a tensor can have consumers both inside and - outside ops. Such tensors are treated as outside tensor if - ambiguous_ts_are_outputs is True, otherwise they are treated as - inside tensor. ##### Returns: @@ -23,6 +22,8 @@ and classify them into three categories: `outside_input_ts` is a Python list of input tensors; `outside_output_ts` is a python list of output tensors; `inside_ts` is a python list of inside tensors. + Since a tensor can be both an inside tensor and an output tensor, + `outside_output_ts` and `inside_ts` might intersect. ##### Raises: diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.graph_editor.SubGraphView.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.graph_editor.SubGraphView.md index 1be9eadd87d..0af27cc8e34 100644 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.graph_editor.SubGraphView.md +++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.contrib.graph_editor.SubGraphView.md @@ -204,6 +204,13 @@ The connected output tensors of this subgraph view. Return a Python set of all the consumers of this subgraph view. +A consumer of a subgraph view is a tf.Operation which is a consumer +of one of the output tensors and is not in the subgraph. + +##### Returns: + + A list of `tf.Operation` which are the consumers of this subgraph view. + - - -