Skip to content

Commit 5c6acf7

Browse files
committed
TensorFlow: Upstream changes to git.
Changes: - Docuementation changes. - Update URL for protobuf submodule. Base CL: 107345722
1 parent 7312671 commit 5c6acf7

File tree

23 files changed

+430
-405
lines changed

23 files changed

+430
-405
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "google/protobuf"]
22
path = google/protobuf
3-
url = https://github.googlesource.com/google/protobuf.git
3+
url = https://github.com/google/protobuf.git

tensorflow/g3doc/api_docs/cc/index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,25 @@ write the graph to a file.
2626
2727
##Classes <a class="md-anchor" id="AUTOGENERATED-classes"></a>
2828
29-
* [tensorflow::Env](ClassEnv.md)
30-
* [tensorflow::EnvWrapper](ClassEnvWrapper.md)
31-
* [tensorflow::RandomAccessFile](ClassRandomAccessFile.md)
32-
* [tensorflow::Session](ClassSession.md)
33-
* [tensorflow::Status](ClassStatus.md)
34-
* [tensorflow::Tensor](ClassTensor.md)
35-
* [tensorflow::TensorBuffer](ClassTensorBuffer.md)
36-
* [tensorflow::TensorShape](ClassTensorShape.md)
37-
* [tensorflow::TensorShapeIter](ClassTensorShapeIter.md)
38-
* [tensorflow::TensorShapeUtils](ClassTensorShapeUtils.md)
39-
* [tensorflow::Thread](ClassThread.md)
40-
* [tensorflow::WritableFile](ClassWritableFile.md)
29+
* [tensorflow::Env](../../api_docs/cc/ClassEnv.md)
30+
* [tensorflow::EnvWrapper](../../api_docs/cc/ClassEnvWrapper.md)
31+
* [tensorflow::RandomAccessFile](../../api_docs/cc/ClassRandomAccessFile.md)
32+
* [tensorflow::Session](../../api_docs/cc/ClassSession.md)
33+
* [tensorflow::Status](../../api_docs/cc/ClassStatus.md)
34+
* [tensorflow::Tensor](../../api_docs/cc/ClassTensor.md)
35+
* [tensorflow::TensorBuffer](../../api_docs/cc/ClassTensorBuffer.md)
36+
* [tensorflow::TensorShape](../../api_docs/cc/ClassTensorShape.md)
37+
* [tensorflow::TensorShapeIter](../../api_docs/cc/ClassTensorShapeIter.md)
38+
* [tensorflow::TensorShapeUtils](../../api_docs/cc/ClassTensorShapeUtils.md)
39+
* [tensorflow::Thread](../../api_docs/cc/ClassThread.md)
40+
* [tensorflow::WritableFile](../../api_docs/cc/ClassWritableFile.md)
4141
4242
##Structs <a class="md-anchor" id="AUTOGENERATED-structs"></a>
4343
44-
* [tensorflow::SessionOptions](StructSessionOptions.md)
45-
* [tensorflow::Status::State](StructState.md)
46-
* [tensorflow::TensorShapeDim](StructTensorShapeDim.md)
47-
* [tensorflow::ThreadOptions](StructThreadOptions.md)
44+
* [tensorflow::SessionOptions](../../api_docs/cc/StructSessionOptions.md)
45+
* [tensorflow::Status::State](../../api_docs/cc/StructState.md)
46+
* [tensorflow::TensorShapeDim](../../api_docs/cc/StructTensorShapeDim.md)
47+
* [tensorflow::ThreadOptions](../../api_docs/cc/StructThreadOptions.md)
4848
4949
5050
<div class='sections-order' style="display: none;">

tensorflow/g3doc/api_docs/python/index.md

Lines changed: 331 additions & 331 deletions
Large diffs are not rendered by default.
Binary file not shown.

tensorflow/g3doc/get_started/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ also use MNIST as an example in our technical tutorial where we elaborate on
6868
TensorFlow features.
6969

7070
## Recommended Next Steps: <a class="md-anchor" id="AUTOGENERATED-recommended-next-steps-"></a>
71-
* [Download and Setup](os_setup.md)
72-
* [Basic Usage](basic_usage.md)
71+
* [Download and Setup](../get_started/os_setup.md)
72+
* [Basic Usage](../get_started/basic_usage.md)
7373
* [TensorFlow Mechanics 101](../tutorials/mnist/tf/index.md)
7474

7575

tensorflow/g3doc/how_tos/adding_an_op/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ to:
3535
* [Verify it works](#AUTOGENERATED-verify-it-works)
3636
* [Validation](#Validation)
3737
* [Op registration](#AUTOGENERATED-op-registration)
38-
* [Attrs](#AUTOGENERATED-attrs)
38+
* [Attrs](#Attrs)
3939
* [Attr types](#AUTOGENERATED-attr-types)
4040
* [Polymorphism](#Polymorphism)
4141
* [Inputs and Outputs](#AUTOGENERATED-inputs-and-outputs)
@@ -51,8 +51,8 @@ to:
5151

5252
You define the interface of an Op by registering it with the TensorFlow system.
5353
In the registration, you specify the name of your Op, its inputs (types and
54-
names) and outputs (types and names), as well as [docstrings](#docstrings) and
55-
any [attrs](#attrs) the Op might require.
54+
names) and outputs (types and names), as well as docstrings and
55+
any [attrs](#Attrs) the Op might require.
5656

5757
To see how this works, suppose you'd like to create an Op that takes a tensor of
5858
`int32`s and outputs a copy of the tensor, with all but the first element set to
@@ -249,7 +249,7 @@ function on error.
249249
250250
## Op registration <a class="md-anchor" id="AUTOGENERATED-op-registration"></a>
251251
252-
### Attrs <a class="md-anchor" id="AUTOGENERATED-attrs"></a>
252+
### Attrs <a class="md-anchor" id="Attrs"></a>
253253
254254
Ops can have attrs, whose values are set when the Op is added to a graph. These
255255
are used to configure the Op, and their values can be accessed both within the

tensorflow/g3doc/how_tos/graph_viz/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TensorFlow computation graphs are powerful but complicated. The graph visualizat
55
![Visualization of a TensorFlow graph](./graph_vis_animation.gif "Visualization of a TensorFlow graph")
66
*Visualization of a TensorFlow graph.*
77

8-
To see your own graph, run TensorBoard pointing it to the log directory of the job, click on the graph tab on the top pane and select the appropriate run using the menu at the upper left corner. For in depth information on how to run TensorBoard and make sure you are logging all the necessary information, see [Summaries and TensorBoard](../summaries_and_tensorboard/index.md).
8+
To see your own graph, run TensorBoard pointing it to the log directory of the job, click on the graph tab on the top pane and select the appropriate run using the menu at the upper left corner. For in depth information on how to run TensorBoard and make sure you are logging all the necessary information, see [Summaries and TensorBoard](../../how_tos/summaries_and_tensorboard/index.md).
99

1010
## Name scoping and nodes <a class="md-anchor" id="AUTOGENERATED-name-scoping-and-nodes"></a>
1111

tensorflow/g3doc/how_tos/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
TensorFlow Variables are in-memory buffers containing tensors. Learn how to
77
use them to hold and update model parameters during training.
88

9-
[View Tutorial](variables/index.md)
9+
[View Tutorial](../how_tos/variables/index.md)
1010

1111

1212
## TensorFlow Mechanics 101 <a class="md-anchor" id="AUTOGENERATED-tensorflow-mechanics-101"></a>
@@ -25,54 +25,54 @@ your model(s). This tutorial describes how to build and run TensorBoard as well
2525
as how to add Summary ops to automatically output data to the Events files that
2626
TensorBoard uses for display.
2727

28-
[View Tutorial](summaries_and_tensorboard/index.md)
28+
[View Tutorial](../how_tos/summaries_and_tensorboard/index.md)
2929

3030

3131
## TensorBoard: Graph Visualization <a class="md-anchor" id="AUTOGENERATED-tensorboard--graph-visualization"></a>
3232

3333
This tutorial describes how to use the graph visualizer in TensorBoard to help
3434
you understand the dataflow graph and debug it.
3535

36-
[View Tutorial](graph_viz/index.md)
36+
[View Tutorial](../how_tos/graph_viz/index.md)
3737

3838

3939
## Reading Data <a class="md-anchor" id="AUTOGENERATED-reading-data"></a>
4040

4141
This tutorial describes the three main methods of getting data into your
4242
TensorFlow program: Feeding, Reading and Preloading.
4343

44-
[View Tutorial](reading_data/index.md)
44+
[View Tutorial](../how_tos/reading_data/index.md)
4545

4646

4747
## Threading and Queues <a class="md-anchor" id="AUTOGENERATED-threading-and-queues"></a>
4848

4949
This tutorial describes the various constructs implemented by TensorFlow
5050
to facilitate asynchronous and concurrent training.
5151

52-
[View Tutorial](threading_and_queues/index.md)
52+
[View Tutorial](../how_tos/threading_and_queues/index.md)
5353

5454

5555
## Adding a New Op <a class="md-anchor" id="AUTOGENERATED-adding-a-new-op"></a>
5656

5757
TensorFlow already has a large suite of node operations from which you can
5858
compose in your graph, but here are the details of how to add you own custom Op.
5959

60-
[View Tutorial](adding_an_op/index.md)
60+
[View Tutorial](../how_tos/adding_an_op/index.md)
6161

6262

6363
## Custom Data Readers <a class="md-anchor" id="AUTOGENERATED-custom-data-readers"></a>
6464

6565
If you have a sizable custom data set, you may want to consider extending
6666
TensorFlow to read your data directly in it's native format. Here's how.
6767

68-
[View Tutorial](new_data_formats/index.md)
68+
[View Tutorial](../how_tos/new_data_formats/index.md)
6969

7070

7171
## Using GPUs <a class="md-anchor" id="AUTOGENERATED-using-gpus"></a>
7272

7373
This tutorial describes how to construct and execute models on GPU(s).
7474

75-
[View Tutorial](using_gpu/index.md)
75+
[View Tutorial](../how_tos/using_gpu/index.md)
7676

7777

7878
## Sharing Variables <a class="md-anchor" id="AUTOGENERATED-sharing-variables"></a>
@@ -83,7 +83,7 @@ different locations in the model construction code.
8383

8484
The "Variable Scope" mechanism is designed to facilitate that.
8585

86-
[View Tutorial](variable_scope/index.md)
86+
[View Tutorial](../how_tos/variable_scope/index.md)
8787

8888
<div class='sections-order' style="display: none;">
8989
<!--

tensorflow/g3doc/how_tos/new_data_formats/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ helper functions from
9494
without modifying any arguments.
9595
9696
Next you will create the actual Reader op. It will help if you are familiar
97-
with [the adding an op how-to](../adding_an_op/index.md). The main steps
97+
with [the adding an op how-to](../../how_tos/adding_an_op/index.md). The main steps
9898
are:
9999
100100
* Registering the op.
@@ -122,7 +122,7 @@ REGISTER_OP("TextLineReader")
122122
A Reader that outputs the lines of a file delimited by '\n'.
123123
)doc");
124124
```
125-
125+
126126
To define an `OpKernel`, Readers can use the shortcut of descending from
127127
`ReaderOpKernel`, defined in
128128
[tensorflow/core/framework/reader_op_kernel.h](https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/core/framework/reader_op_kernel.h),
@@ -199,7 +199,7 @@ You can see some examples in
199199
## Writing an Op for a record format <a class="md-anchor" id="AUTOGENERATED-writing-an-op-for-a-record-format"></a>
200200
201201
Generally this is an ordinary op that takes a scalar string record as input, and
202-
so follow [the instructions to add an Op](../adding_an_op/index.md). You may
202+
so follow [the instructions to add an Op](../../how_tos/adding_an_op/index.md). You may
203203
optionally take a scalar string key as input, and include that in error messages
204204
reporting improperly formatted data. That way users can more easily track down
205205
where the bad data came from.

tensorflow/g3doc/how_tos/reading_data/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ This can be important:
266266
How many threads do you need? the `tf.train.shuffle_batch*` functions add a
267267
summary to the graph that indicates how full the example queue is. If you have
268268
enough reading threads, that summary will stay above zero. You can
269-
[view your summaries as training progresses using TensorBoard](../summaries_and_tensorboard/index.md).
269+
[view your summaries as training progresses using TensorBoard](../../how_tos/summaries_and_tensorboard/index.md).
270270

271271
### Creating threads to prefetch using `QueueRunner` objects <a class="md-anchor" id="QueueRunner"></a>
272272

@@ -355,7 +355,7 @@ threads got an error when running some operation (or an ordinary Python
355355
exception).
356356

357357
For more about threading, queues, QueueRunners, and Coordinators
358-
[see here](../threading_and_queues/index.md).
358+
[see here](../../how_tos/threading_and_queues/index.md).
359359

360360
#### Aside: How clean shut-down when limiting epochs works <a class="md-anchor" id="AUTOGENERATED-aside--how-clean-shut-down-when-limiting-epochs-works"></a>
361361

@@ -493,4 +493,4 @@ This is what is done in
493493

494494
You can have the train and eval in the same graph in the same process, and share
495495
their trained variables. See
496-
[the shared variables tutorial](../variable_scope/index.md).
496+
[the shared variables tutorial](../../how_tos/variable_scope/index.md).

0 commit comments

Comments
 (0)