Skip to content

Commit d6357a5

Browse files
committed
TensorFlow: Upstream changes to git.
Changes: - Lot of updates to docs. Base CL: 107357203
1 parent fb055fa commit d6357a5

File tree

18 files changed

+1289
-1289
lines changed

18 files changed

+1289
-1289
lines changed

tensorflow/g3doc/api_docs/python/array_ops.md

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

tensorflow/g3doc/api_docs/python/client.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ the session constructor.
110110
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
111111

112112

113-
* <b>target</b>: (Optional.) The execution engine to connect to.
113+
* <b>`target`</b>: (Optional.) The execution engine to connect to.
114114
Defaults to using an in-process engine. At present, no value
115115
other than the empty string is supported.
116-
* <b>graph</b>: (Optional.) The `Graph` to be launched (described above).
117-
* <b>config</b>: (Optional.) A [`ConfigProto`](https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/core/framework/config.proto)
116+
* <b>`graph`</b>: (Optional.) The `Graph` to be launched (described above).
117+
* <b>`config`</b>: (Optional.) A [`ConfigProto`](https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/core/framework/config.proto)
118118
protocol buffer with configuration options for the session.
119119

120120

@@ -163,9 +163,9 @@ one of the following types:
163163
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
164164

165165

166-
* <b>fetches</b>: A single graph element, or a list of graph elements
166+
* <b>`fetches`</b>: A single graph element, or a list of graph elements
167167
(described above).
168-
* <b>feed_dict</b>: A dictionary that maps graph elements to values
168+
* <b>`feed_dict`</b>: A dictionary that maps graph elements to values
169169
(described above).
170170

171171
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
@@ -176,10 +176,10 @@ one of the following types:
176176
##### Raises: <a class="md-anchor" id="AUTOGENERATED-raises-"></a>
177177

178178

179-
* <b>RuntimeError</b>: If this `Session` is in an invalid state (e.g. has been
179+
* <b>`RuntimeError`</b>: If this `Session` is in an invalid state (e.g. has been
180180
closed).
181-
* <b>TypeError</b>: If `fetches` or `feed_dict` keys are of an inappropriate type.
182-
* <b>ValueError</b>: If `fetches` or `feed_dict` keys are invalid or refer to a
181+
* <b>`TypeError`</b>: If `fetches` or `feed_dict` keys are of an inappropriate type.
182+
* <b>`ValueError`</b>: If `fetches` or `feed_dict` keys are invalid or refer to a
183183
`Tensor` that doesn't exist.
184184

185185

@@ -194,7 +194,7 @@ Calling this method frees all resources associated with the session.
194194
##### Raises: <a class="md-anchor" id="AUTOGENERATED-raises-"></a>
195195

196196

197-
* <b>RuntimeError</b>: If an error occurs while closing the session.
197+
* <b>`RuntimeError`</b>: If an error occurs while closing the session.
198198

199199

200200

@@ -318,10 +318,10 @@ the session constructor.
318318
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
319319

320320

321-
* <b>target</b>: (Optional.) The execution engine to connect to.
321+
* <b>`target`</b>: (Optional.) The execution engine to connect to.
322322
Defaults to using an in-process engine. At present, no value
323323
other than the empty string is supported.
324-
* <b>graph</b>: (Optional.) The `Graph` to be launched (described above).
324+
* <b>`graph`</b>: (Optional.) The `Graph` to be launched (described above).
325325

326326

327327
- - -
@@ -398,10 +398,10 @@ Creates a new OpError indicating that a particular op failed.
398398
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
399399

400400

401-
* <b>node_def</b>: The graph_pb2.NodeDef proto representing the op that failed.
402-
* <b>op</b>: The ops.Operation that failed, if known; otherwise None.
403-
* <b>message</b>: The message string describing the failure.
404-
* <b>error_code</b>: The error_codes_pb2.Code describing the error.
401+
* <b>`node_def`</b>: The graph_pb2.NodeDef proto representing the op that failed.
402+
* <b>`op`</b>: The ops.Operation that failed, if known; otherwise None.
403+
* <b>`message`</b>: The message string describing the failure.
404+
* <b>`error_code`</b>: The error_codes_pb2.Code describing the error.
405405

406406

407407
- - -

tensorflow/g3doc/api_docs/python/constant_op.md

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ tf.zeros([3, 4], int32) ==> [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
5151
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
5252

5353

54-
* <b>shape</b>: Either a list of integers, or a 1-D `Tensor` of type `int32`.
55-
* <b>dtype</b>: The type of an element in the resulting `Tensor`.
56-
* <b>name</b>: A name for the operation (optional).
54+
* <b>`shape`</b>: Either a list of integers, or a 1-D `Tensor` of type `int32`.
55+
* <b>`dtype`</b>: The type of an element in the resulting `Tensor`.
56+
* <b>`name`</b>: A name for the operation (optional).
5757

5858
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
5959

@@ -80,11 +80,11 @@ tf.zeros_like(tensor) ==> [[0, 0, 0], [0, 0, 0]]
8080
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
8181

8282

83-
* <b>tensor</b>: A `Tensor`.
84-
* <b>dtype</b>: A type for the returned `Tensor`. Must be `float32`, `float64`,
83+
* <b>`tensor`</b>: A `Tensor`.
84+
* <b>`dtype`</b>: A type for the returned `Tensor`. Must be `float32`, `float64`,
8585
`int8`, `int16`, `int32`, `int64`, `uint8`, or `complex64`.
8686

87-
* <b>name</b>: A name for the operation (optional).
87+
* <b>`name`</b>: A name for the operation (optional).
8888

8989
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
9090

@@ -110,9 +110,9 @@ tf.ones([2, 3], int32) ==> [[1, 1, 1], [1, 1, 1]]
110110
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
111111

112112

113-
* <b>shape</b>: Either a list of integers, or a 1-D `Tensor` of type `int32`.
114-
* <b>dtype</b>: The type of an element in the resulting `Tensor`.
115-
* <b>name</b>: A name for the operation (optional).
113+
* <b>`shape`</b>: Either a list of integers, or a 1-D `Tensor` of type `int32`.
114+
* <b>`dtype`</b>: The type of an element in the resulting `Tensor`.
115+
* <b>`name`</b>: A name for the operation (optional).
116116

117117
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
118118

@@ -139,11 +139,11 @@ tf.ones_like(tensor) ==> [[1, 1, 1], [1, 1, 1]]
139139
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
140140

141141

142-
* <b>tensor</b>: A `Tensor`.
143-
* <b>dtype</b>: A type for the returned `Tensor`. Must be `float32`, `float64`,
142+
* <b>`tensor`</b>: A `Tensor`.
143+
* <b>`dtype`</b>: A type for the returned `Tensor`. Must be `float32`, `float64`,
144144
`int8`, `int16`, `int32`, `int64`, `uint8`, or `complex64`.
145145

146-
* <b>name</b>: A name for the operation (optional).
146+
* <b>`name`</b>: A name for the operation (optional).
147147

148148
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
149149

@@ -171,10 +171,10 @@ fill(dims, 9) ==> [[9, 9, 9]
171171
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
172172

173173

174-
* <b>dims</b>: A `Tensor` of type `int32`.
174+
* <b>`dims`</b>: A `Tensor` of type `int32`.
175175
1-D. Represents the shape of the output tensor.
176-
* <b>value</b>: A `Tensor`. 0-D (scalar). Value to fill the returned tensor.
177-
* <b>name</b>: A name for the operation (optional).
176+
* <b>`value`</b>: A `Tensor`. 0-D (scalar). Value to fill the returned tensor.
177+
* <b>`name`</b>: A name for the operation (optional).
178178

179179
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
180180

@@ -220,16 +220,16 @@ Creates a constant tensor.
220220
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
221221

222222

223-
* <b>value</b>: A constant value (or list) of output type `dtype`.
223+
* <b>`value`</b>: A constant value (or list) of output type `dtype`.
224224

225225

226-
* <b>dtype</b>: The type of the elements of the resulting tensor.
226+
* <b>`dtype`</b>: The type of the elements of the resulting tensor.
227227

228228

229-
* <b>shape</b>: Optional dimensions of resulting tensor.
229+
* <b>`shape`</b>: Optional dimensions of resulting tensor.
230230

231231

232-
* <b>name</b>: Optional name for the tensor.
232+
* <b>`name`</b>: Optional name for the tensor.
233233

234234
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
235235

@@ -258,12 +258,12 @@ tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]
258258
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
259259

260260

261-
* <b>start</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`.
261+
* <b>`start`</b>: A `Tensor`. Must be one of the following types: `float32`, `float64`.
262262
First entry in the range.
263-
* <b>stop</b>: A `Tensor`. Must have the same type as `start`.
263+
* <b>`stop`</b>: A `Tensor`. Must have the same type as `start`.
264264
Last entry in the range.
265-
* <b>num</b>: A `Tensor` of type `int32`. Number of values to generate.
266-
* <b>name</b>: A name for the operation (optional).
265+
* <b>`num`</b>: A `Tensor` of type `int32`. Number of values to generate.
266+
* <b>`name`</b>: A name for the operation (optional).
267267

268268
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
269269

@@ -292,12 +292,12 @@ tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]
292292
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
293293

294294

295-
* <b>start</b>: A 0-D (scalar) of type `int32`. First entry in sequence.
296-
* <b>limit</b>: A 0-D (scalar) of type `int32`. Upper limit of sequence,
295+
* <b>`start`</b>: A 0-D (scalar) of type `int32`. First entry in sequence.
296+
* <b>`limit`</b>: A 0-D (scalar) of type `int32`. Upper limit of sequence,
297297
exclusive.
298-
* <b>delta</b>: A 0-D `Tensor` (scalar) of type `int32`. Optional. Default is 1.
298+
* <b>`delta`</b>: A 0-D `Tensor` (scalar) of type `int32`. Optional. Default is 1.
299299
Number that increments `start`.
300-
* <b>name</b>: A name for the operation (optional).
300+
* <b>`name`</b>: A name for the operation (optional).
301301

302302
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
303303

@@ -368,17 +368,17 @@ Outputs random values from a normal distribution.
368368
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
369369

370370

371-
* <b>shape</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
372-
* <b>mean</b>: A 0-D Tensor or Python value of type `dtype`. The mean of the normal
371+
* <b>`shape`</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
372+
* <b>`mean`</b>: A 0-D Tensor or Python value of type `dtype`. The mean of the normal
373373
distribution.
374-
* <b>stddev</b>: A 0-D Tensor or Python value of type `dtype`. The standard deviation
374+
* <b>`stddev`</b>: A 0-D Tensor or Python value of type `dtype`. The standard deviation
375375
of the normal distribution.
376-
* <b>dtype</b>: The type of the output.
377-
* <b>seed</b>: A Python integer. Used to create a random seed for the distribution.
376+
* <b>`dtype`</b>: The type of the output.
377+
* <b>`seed`</b>: A Python integer. Used to create a random seed for the distribution.
378378
See
379379
[`set_random_seed`](../../api_docs/python/constant_op.md#set_random_seed)
380380
for behavior.
381-
* <b>name</b>: A name for the operation (optional).
381+
* <b>`name`</b>: A name for the operation (optional).
382382

383383
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
384384

@@ -398,17 +398,17 @@ deviations from the mean are dropped and re-picked.
398398
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
399399

400400

401-
* <b>shape</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
402-
* <b>mean</b>: A 0-D Tensor or Python value of type `dtype`. The mean of the
401+
* <b>`shape`</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
402+
* <b>`mean`</b>: A 0-D Tensor or Python value of type `dtype`. The mean of the
403403
truncated normal distribution.
404-
* <b>stddev</b>: A 0-D Tensor or Python value of type `dtype`. The standard deviation
404+
* <b>`stddev`</b>: A 0-D Tensor or Python value of type `dtype`. The standard deviation
405405
of the truncated normal distribution.
406-
* <b>dtype</b>: The type of the output.
407-
* <b>seed</b>: A Python integer. Used to create a random seed for the distribution.
406+
* <b>`dtype`</b>: The type of the output.
407+
* <b>`seed`</b>: A Python integer. Used to create a random seed for the distribution.
408408
See
409409
[`set_random_seed`](../../api_docs/python/constant_op.md#set_random_seed)
410410
for behavior.
411-
* <b>name</b>: A name for the operation (optional).
411+
* <b>`name`</b>: A name for the operation (optional).
412412

413413
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
414414

@@ -428,17 +428,17 @@ the upper bound `maxval` is excluded.
428428
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
429429

430430

431-
* <b>shape</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
432-
* <b>minval</b>: A 0-D Tensor or Python value of type `dtype`. The lower bound on the
431+
* <b>`shape`</b>: A 1-D integer Tensor or Python array. The shape of the output tensor.
432+
* <b>`minval`</b>: A 0-D Tensor or Python value of type `dtype`. The lower bound on the
433433
range of random values to generate.
434-
* <b>maxval</b>: A 0-D Tensor or Python value of type `dtype`. The upper bound on
434+
* <b>`maxval`</b>: A 0-D Tensor or Python value of type `dtype`. The upper bound on
435435
the range of random values to generate.
436-
* <b>dtype</b>: The type of the output.
437-
* <b>seed</b>: A Python integer. Used to create a random seed for the distribution.
436+
* <b>`dtype`</b>: The type of the output.
437+
* <b>`seed`</b>: A Python integer. Used to create a random seed for the distribution.
438438
See
439439
[`set_random_seed`](../../api_docs/python/constant_op.md#set_random_seed)
440440
for behavior.
441-
* <b>name</b>: A name for the operation (optional).
441+
* <b>`name`</b>: A name for the operation (optional).
442442

443443
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
444444

@@ -464,12 +464,12 @@ to one and only one `output[i]`. For example, a mapping that might occur for a
464464
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
465465

466466

467-
* <b>value</b>: A Tensor to be shuffled.
468-
* <b>seed</b>: A Python integer. Used to create a random seed for the distribution.
467+
* <b>`value`</b>: A Tensor to be shuffled.
468+
* <b>`seed`</b>: A Python integer. Used to create a random seed for the distribution.
469469
See
470470
[`set_random_seed`](../../api_docs/python/constant_op.md#set_random_seed)
471471
for behavior.
472-
* <b>name</b>: A name for the operation (optional).
472+
* <b>`name`</b>: A name for the operation (optional).
473473

474474
##### Returns: <a class="md-anchor" id="AUTOGENERATED-returns-"></a>
475475

@@ -575,6 +575,6 @@ with tf.Session() as sess2:
575575
##### Args: <a class="md-anchor" id="AUTOGENERATED-args-"></a>
576576

577577

578-
* <b>seed</b>: integer.
578+
* <b>`seed`</b>: integer.
579579

580580

0 commit comments

Comments
 (0)