diff options
author | Manjunath Kudlur <keveman@gmail.com> | 2015-11-20 10:30:41 -0800 |
---|---|---|
committer | Manjunath Kudlur <keveman@gmail.com> | 2015-11-20 10:30:41 -0800 |
commit | 9c3043ff3bf31a6a81810b4ce9e87ef936f1f529 (patch) | |
tree | 6cfbf1de2b9b58cceee59feecbb1ff5069b1e31a /tensorflow/g3doc/tutorials/mnist/mnist.py | |
parent | f7918e1dcd5b0c1f8114f488fc35a63a81e94535 (diff) |
TensorFlow: Improve performance of Alexnet
Changes:
* error message that refers to removed `DefaultSession` method.
* -Wnull-conversion warnings
* the "_start_time" attr for recvs when the flag "--brain_enable_scheduling_for_recvs" is set.
* typo in tutorial data download progress message.
* a typo ("however their installing"=>"however installing").
* typo, rename "TensorFlow Mechanics" to "How To" to be consistent with the website.
* a typo ("subtact"=>"subtract").
* protobuf examples in comments in tensorflow::Example.proto.
* formula formatting in MNIST beginner tutorial
* negative fraction-of-queue-full stats
* protobuf inclusion path so that Android demo will build under Blaze.
* small typo (moderatly > moderately)
* Session.run() to check that tensor arguments come from the session's graph.
* another six import
* seq2seq typo in bazel command
Base CL: 108349164
Diffstat (limited to 'tensorflow/g3doc/tutorials/mnist/mnist.py')
-rw-r--r-- | tensorflow/g3doc/tutorials/mnist/mnist.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tensorflow/g3doc/tutorials/mnist/mnist.py b/tensorflow/g3doc/tutorials/mnist/mnist.py index 3521673761..4cb53b7deb 100644 --- a/tensorflow/g3doc/tutorials/mnist/mnist.py +++ b/tensorflow/g3doc/tutorials/mnist/mnist.py @@ -1,3 +1,18 @@ +# Copyright 2015 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================== + """Builds the MNIST network. Implements the inference/loss/training pattern for model building. |