Update generated Python Op docs.

Change: 126374388
This commit is contained in:
A. Unique TensorFlower 2016-06-30 19:37:05 -08:00 committed by TensorFlower Gardener
parent 5187b6c0be
commit b68903f5b6
4 changed files with 28 additions and 3 deletions

View File

@ -93,10 +93,21 @@ except Exception:
``` ```
- - - - - -
#### `tf.train.Coordinator.__init__()` {#Coordinator.__init__} #### `tf.train.Coordinator.__init__(clean_stop_exception_types=None)` {#Coordinator.__init__}
Create a new Coordinator. Create a new Coordinator.
##### Args:
* <b>`clean_stop_exception_types`</b>: Optional tuple of Exception types that should
cause a clean stop of the coordinator. If an exception of one of these
types is reported to `request_stop(ex)` the coordinator will behave as
if `request_stop(None)` was called. Defaults to
`(tf.errors.OutOfRangeError,)` which is used by input queues to signal
the end of input. When feeding training data from a Python iterator it
is common to add `StopIteration` to this list.
- - - - - -

View File

@ -739,3 +739,4 @@
* [`copy_op_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_op_to_graph) * [`copy_op_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_op_to_graph)
* [`copy_variable_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_variable_to_graph) * [`copy_variable_to_graph`](../../api_docs/python/contrib.copy_graph.md#copy_variable_to_graph)
* [`get_copied_op`](../../api_docs/python/contrib.copy_graph.md#get_copied_op) * [`get_copied_op`](../../api_docs/python/contrib.copy_graph.md#get_copied_op)

View File

@ -764,7 +764,7 @@ For example:
* <b>`TypeError`</b>: If `sp_input` is not a `SparseTensor`. * <b>`TypeError`</b>: If `sp_input` is not a `SparseTensor`.
* <b>`ValueError`</b>: If `new_shape` represents a tensor with a different rank from * <b>`ValueError`</b>: If `new_shape` represents a tensor with a different rank from
that of `sp_input` (if shapes are known when graph is constructed). that of `sp_input` (if shapes are known when graph is constructed).
* <b>`OpError`</b>: * <b>`OpError`</b>:
- If `new_shape` has dimension sizes that are too small. - If `new_shape` has dimension sizes that are too small.
- If shapes are not known during graph construction time, and during run - If shapes are not known during graph construction time, and during run
time it is found out that the ranks do not match. time it is found out that the ranks do not match.
@ -1153,3 +1153,5 @@ B dense [k, n]
A = A.H if adjoint_a else A A = A.H if adjoint_a else A
B = B.H if adjoint_b else B B = B.H if adjoint_b else B
return A*B return A*B

View File

@ -1214,10 +1214,21 @@ except Exception:
``` ```
- - - - - -
#### `tf.train.Coordinator.__init__()` {#Coordinator.__init__} #### `tf.train.Coordinator.__init__(clean_stop_exception_types=None)` {#Coordinator.__init__}
Create a new Coordinator. Create a new Coordinator.
##### Args:
* <b>`clean_stop_exception_types`</b>: Optional tuple of Exception types that should
cause a clean stop of the coordinator. If an exception of one of these
types is reported to `request_stop(ex)` the coordinator will behave as
if `request_stop(None)` was called. Defaults to
`(tf.errors.OutOfRangeError,)` which is used by input queues to signal
the end of input. When feeding training data from a Python iterator it
is common to add `StopIteration` to this list.
- - - - - -