diff options
author | 2018-05-17 17:25:47 -0700 | |
---|---|---|
committer | 2018-05-17 17:28:33 -0700 | |
commit | 2dc24b8817bc9d33ca657083f34ca909f605f1e2 (patch) | |
tree | 18ece29f474919abb753965df323e5ebdce325bf /tensorflow/docs_src/api_guides | |
parent | 24c6a2186b888dd9035aa629ef49bc48518c920a (diff) |
markdown fixes
PiperOrigin-RevId: 197077588
Diffstat (limited to 'tensorflow/docs_src/api_guides')
5 files changed, 14 insertions, 5 deletions
diff --git a/tensorflow/docs_src/api_guides/python/contrib.framework.md b/tensorflow/docs_src/api_guides/python/contrib.framework.md index f7f26e5626..6b4ce3a14d 100644 --- a/tensorflow/docs_src/api_guides/python/contrib.framework.md +++ b/tensorflow/docs_src/api_guides/python/contrib.framework.md @@ -18,17 +18,20 @@ Framework utilities. * @{tf.contrib.framework.with_same_shape} ## Deprecation + * @{tf.contrib.framework.deprecated} * @{tf.contrib.framework.deprecated_args} * @{tf.contrib.framework.deprecated_arg_values} ## Arg_Scope + * @{tf.contrib.framework.arg_scope} * @{tf.contrib.framework.add_arg_scope} * @{tf.contrib.framework.has_arg_scope} * @{tf.contrib.framework.arg_scoped_arguments} ## Variables + * @{tf.contrib.framework.add_model_variable} * @{tf.train.assert_global_step} * @{tf.contrib.framework.assert_or_get_global_step} diff --git a/tensorflow/docs_src/api_guides/python/contrib.learn.md b/tensorflow/docs_src/api_guides/python/contrib.learn.md index 8b2fffa201..03838dc5ae 100644 --- a/tensorflow/docs_src/api_guides/python/contrib.learn.md +++ b/tensorflow/docs_src/api_guides/python/contrib.learn.md @@ -25,6 +25,7 @@ Train and evaluate TensorFlow models. * @{tf.contrib.learn.LogisticRegressor} ## Distributed training utilities + * @{tf.contrib.learn.Experiment} * @{tf.contrib.learn.ExportStrategy} * @{tf.contrib.learn.TaskType} diff --git a/tensorflow/docs_src/api_guides/python/contrib.seq2seq.md b/tensorflow/docs_src/api_guides/python/contrib.seq2seq.md index 496d43dfd7..143919fd84 100644 --- a/tensorflow/docs_src/api_guides/python/contrib.seq2seq.md +++ b/tensorflow/docs_src/api_guides/python/contrib.seq2seq.md @@ -21,6 +21,7 @@ wrapper. An instance of an `AttentionMechanism` is constructed with a ### Attention Mechanisms The two basic attention mechanisms are: + * @{tf.contrib.seq2seq.BahdanauAttention} (additive attention, [ref.](https://arxiv.org/abs/1409.0473)) * @{tf.contrib.seq2seq.LuongAttention} (multiplicative attention, @@ -118,14 +119,17 @@ outputs, _ = tf.contrib.seq2seq.dynamic_decode( ``` ### Decoder base class and functions + * @{tf.contrib.seq2seq.Decoder} * @{tf.contrib.seq2seq.dynamic_decode} ### Basic Decoder + * @{tf.contrib.seq2seq.BasicDecoderOutput} * @{tf.contrib.seq2seq.BasicDecoder} ### Decoder Helpers + * @{tf.contrib.seq2seq.Helper} * @{tf.contrib.seq2seq.CustomHelper} * @{tf.contrib.seq2seq.GreedyEmbeddingHelper} diff --git a/tensorflow/docs_src/api_guides/python/meta_graph.md b/tensorflow/docs_src/api_guides/python/meta_graph.md index 0eff900093..f1c3adc22c 100644 --- a/tensorflow/docs_src/api_guides/python/meta_graph.md +++ b/tensorflow/docs_src/api_guides/python/meta_graph.md @@ -22,14 +22,14 @@ protocol buffer. It contains the following fields: * [`GraphDef`](https://www.tensorflow.org/code/tensorflow/core/framework/graph.proto) for describing the graph. * [`SaverDef`](https://www.tensorflow.org/code/tensorflow/core/protobuf/saver.proto) for the saver. * [`CollectionDef`](https://www.tensorflow.org/code/tensorflow/core/protobuf/meta_graph.proto) -map that further describes additional components of the model, such as +map that further describes additional components of the model such as @{$python/state_ops$`Variables`}, -@{tf.train.QueueRunner}, etc. In order for a Python object to be serialized +@{tf.train.QueueRunner}, etc. + +In order for a Python object to be serialized to and from `MetaGraphDef`, the Python class must implement `to_proto()` and `from_proto()` methods, and register them with the system using -`register_proto_function`. - - For example, +`register_proto_function`. For example: ```Python def to_proto(self, export_scope=None): diff --git a/tensorflow/docs_src/api_guides/python/train.md b/tensorflow/docs_src/api_guides/python/train.md index 80fe9784de..cbc5052946 100644 --- a/tensorflow/docs_src/api_guides/python/train.md +++ b/tensorflow/docs_src/api_guides/python/train.md @@ -54,6 +54,7 @@ gradients. * @{tf.global_norm} ## Decaying the learning rate + * @{tf.train.exponential_decay} * @{tf.train.inverse_time_decay} * @{tf.train.natural_exp_decay} |