1. 02 12月, 2015 2 次提交
    • V
      TensorFlow: update google/protobuf version to · f586a5ee
      Vijay Vasudevan 提交于
      956a770adc772184e5911f964b866028465d1727 for bazel 0.1.2
      f586a5ee
    • V
      TensorFlow: upstream changes to git · 795f35da
      Vijay Vasudevan 提交于
      Change:
      	Clean up documentation for ReverseSequence
      Change:
      	Updated several tensorflow operations to use 32bit indices on GPU.
      Change:
      	Add attribute batch_dim to ReverseSequenceOp.
      Change:
      	Fix error in convert_to_records.py.  As reported in
      	https://github.com/tensorflow/tensorflow/issues/370
      	by AlexUnderMicrocontRoll.
      Change:
      	Update TensorBoard README.
      Change:
      	Fixes to boolean flags reported in
      	https://github.com/tensorflow/tensorflow/issues/379.  Supports:
      
      	--bool_flag=True  --> True
      	--bool_flag=False  --> False
      	--bool_flag=gibberish  --> False
      	--bool_flag --> True
      	--nobool_flag --> False
      
      	Fixes #379
      Change:
      	Update generated Op docs.
      Change:
      	Enable local development of TensorBoard using gulp
      	Also make tf-tensorboard a regular component rather than special case
      
      	This is mostly effected by creating tfserve.js, which is a small server
      	with clever routing to load from bower_components/ and components/ using
      	the paths that work within google3.
      
      	Workflow: `gulp serve`
      Change:
      	Add a full working code example to the tensorboard and summaries tutorial
      Change:
      	Fix seq2seq_test when running on GPU.
      
      	The "proj_w" and "proj_b" variables were being created before the
      	`test_session()`'s device function took effect, which pushed the
      	placement algorithm into making an incorrect decision.
      Change:
      	Add a sentence in TensorBoard README on how to serialize summary data to logs and provide link to the how-to tutorial on the TensorFlow website.
      Change:
      	Add error-catching code if string_input_producer is supplied a null input.
      	Before this change, it would die with an opaque shape error from inside
      	the queue.  This change catches (most) python null lists being
      	passed directly in, and at runtime detects null tensors.
      
      	Adds two tests for this to input_test.py
      Change:
      	Speed up for models that use the same variable multiple times in the case
      	where variables must be copied across devices:
      	- Have Variables wrap the Variable op in an Identity op when converted to Tensor.
      	  This avoids multiple copies across devices if a variable is used multiple time
      	  in a computation.
      	- Add Variable.mutable() to return the non-wrapped Variable op for used when
      	  assigning new values.
      	- Add an as_ref parameter to convert_to_tensor() to allow code to specify
      	  if they plan to assign a new value to the result of the conversion.  Make Variable
      	  return the result of Variable.mutable() when as_ref is True.
      	- Make all ops that assign values to variables pass as_ref=True when converting
      	  their arguments.
      Change:
      	Change to reduce critical section times in gpu_event_mgr.h:
      	(1) Call stream->ThenRecordEvent outside the EventMgr critical section
      	(2) Do memory deallocation outside the critical section
      
      	Speeds up one configuration of ptb_word_lm from 2924 words per
      	second (wps) to 3278 wps on my desktop machine with a Titan X.
      Change:
      	Remove some colons that break the open source build
      
      	::tensorflow::StringPiece breaks for @raingo, see
      	https://github.com/tensorflow/tensorflow/issues/358.
      	tensorflow::StringPiece (without the leading colons)
      	seems to fix the problem.
      Change:
      	Added check that inputs to Operation is a list and make a defensive copy of the input. This is for cases where the input list is changed such as in _add_input.
      Change:
      	Use standard names for TensorFlow dtypes in the tutorial.
      Change:
      	Add tests for tensor inputs.
      Change:
      	Fix build after declaring more types for ops
      Change:
      	Switch to 32 bit indexing to speedup convolutions and concatenations.
      Change:
      	Add convert_image op to convert between types for images (similar to OpenCV's cvtScale).
      Change:
      	Make cast work between numeric types (bool, uint8, int16, int32, int64, float, double).
      Change:
      
      	Padding input data for odd number of paddings, so we can use cudnn anyway.
      	+ Fix total padding computation when padding==VALID.
      	+ This CL makes the Googlenet benchmark run 5x faster.
      
      Change:
      	Support IndexedSlices in ConcatGrad
      Change:
      	* sampled softmax op uses one embedding lookup for positive and negative samples
      	* float64 support for sampled softmax
      Change:
      	Move RNN code out of models.rnn (without breaking existing code).  The API may still undergo minor changes, until full documentation as added.
      Change:
      	Changed to use per-step stacks for the accumulators used in while-loop gradient computation. This addresses the problem caused by using concat without sufficient static shape information. It should also improve performance as we avoided those expensive concats.
      Change:
      	Update generated Op docs.
      Change:
      	Improve error messages when the optimizer finds no variables to minimize or
      	when none of the variables has gradients.
      Change:
      	Say that -1 isn't just for flattening in reshape docs
      
      	Also add scalar reshape (reshape(t, [])) as an example.
      
      	This fixes https://github.com/tensorflow/tensorflow/issues/281.
      Change:
      	This is a test.
      
      Base CL: 109118714
      795f35da
  2. 26 11月, 2015 3 次提交
  3. 21 11月, 2015 1 次提交
    • M
      TensorFlow: Improve performance of Alexnet · 9c3043ff
      Manjunath Kudlur 提交于
      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
      9c3043ff
  4. 19 11月, 2015 2 次提交
    • V
      TensorFlow: Removal of large assets and small other fixes. · f7918e1d
      Vijay Vasudevan 提交于
      Changes:
      
      - Remove all large assets from the repoistory, incuding the other 50MiB
        model protobuf and a lot of images in our g3doc directory. We will
        maintain these assets externally for now.  g3doc images may be
        broken for a little bit, but the website will be fine, which
        is the important resource. By @vrv and @petewarden.  Updates
        READMES to reflect the external model resources.
      
      - Fix to saver's latest_checkpoint function by Zhifeng
      
      - Made protos visibility public by @vrv
      
      - Updates to docs by @mrry, Andy
      
      - Embed tensorboard resource for summary icon by Daniel
      
      - More updates to backwars compat by @josh11b
      
      Base CL: 108194981
      f7918e1d
    • V
      TensorFlow: more features, performance improvements, and doc fixes. · ab34d55c
      Vijay Vasudevan 提交于
      Changes:
      - Add Split/Concat() methods to TensorUtil (meant for convenience, not
        speed) by Chris.
      
      - Changes to linear algebra ops interface by Rasmus
      
      - Tests for tensorboard by Daniel
      
      - Fix bug in histogram calculation by Cassandra
      
      - Added tool for backwards compatibility of OpDefs.  Tool
        Checks in history of opdefs and their changes, checks for
        backwards-incompatible changes.  All done by @josh11b
      
      - Fix some protobuf example proto docs by Oliver
      
      - Add derivative of MatrixDeterminant by @yaroslavvb
      
      - Add a priority queue queue by @ebrevdo
      
      - Doc and typo fixes by Aurelien and @dave-andersen
      
      - Speed improvements to ConvBackwardFilter by @AndyDavis
      
      - Improve speed of Alexnet on TitanX by @zheng-xq
      
      - Add some host memory annotations to some GPU kernels by Yuan.
      
      - Add support for doubles in histogram summary by @jmchen-g
      
      Base CL: 108158338
      ab34d55c
  5. 17 11月, 2015 4 次提交
    • V
      TensorFlow: remove googlenet modelfile from repo. · 9eb88d56
      Vijay Vasudevan 提交于
      It is 50MiB, which doesn't belong in git.
      
      It turns out there is a second copy of this graph in the android assets
      already too.  That explains why the repo is so large.
      
      (Since we have not accepted external commits yet, we may
       consider rewriting the history to purge these files if
       the size of the repo is a concern).
      
      Base CL: 108016510
      9eb88d56
    • V
      TensorFlow: conv improvements, label_image example, and · 4213ac97
      Vijay Vasudevan 提交于
      a few other changes.
      
      Changes:
      - Some improvements to convolution by using 32-bit indices by
        @benoitsteiner. Not all calls converted yet.  Also some
        improvements to pooling as well by @benoitsteiner.
      
      - Improvements to sparse matmul CPU implementation by Ashish
      
      - Some fixes to warnings by @vrv
      
      - Doc fixes to padding by @Yangqing
      
      - Some improvements to Tensor wrappers by Eider
      
      - Speed up of matrix inverse on CPU by Rasmus
      
      - Add an example of doing image inference from a pre-trained model
        by @petewarden.
      
      - fixed formula in mnist example by nodir
      
      - Updates to event accumulator by Cassandra
      
      - Slight changes to tensor c api by @mrry
      
      - Handling of strings in listdiff by Phil
      
      - Fix negative fraction-of-queue-full stats by Frank
      
      - Type-checking improvement to importer by Yaroslav
      
      - logdir recursive search for Tensorboard by @danmane
      
      - Session.run() checks for empty graph by Manoj
      
      Base CL: 108013706
      4213ac97
    • V
      TensorFlow: Doc and linter fixes, some additional tests and · 56313def
      Vijay Vasudevan 提交于
      error handling, updates to website.
      
      Changes:
      - Removes redundant reshape from image models by @mrry
      - Default TensorBoard to localhost by @danmane
      - Reformatting of tensorflow/core by @josh11b
      - Make tutorials backwards compatible to 0.5.0 by @girving
      - Improve print documentation (md files not updated).
      - Add proper scrolling to sitemap by @martinwicke
      
      Base CL: 107956254
      56313def
    • V
      TensorFlow: Upstream changes from since last Thursday. · cb9fa5fc
      Vijay Vasudevan 提交于
      Changes:
      - Bug fix to input.py by @dave-andersen with tests.
      
      - Some fixes to names in the whitepaper
      
      - Include cfloat for FLT_MAX by @benoitsteiner
      
      - Fix broken link in mnist tutorials by @mrry
      
      - Typos and fixes to documentation by @Sohl-Dickstein, @ebrevdo, @vrv,
        Yaroslav, @martinwicke
      
      - Fixed unnecessary check around a delete by @girving
      
      - More compatibility tests by @josh11b
      
      - Misc other typos and fixes by Googlers.
      
      Base CL: 107944070
      cb9fa5fc
  6. 13 11月, 2015 3 次提交
    • V
      TensorFlow: a few small updates. · 011e9bac
      Vijay Vasudevan 提交于
      Changes:
      - Fix softmax formula in word2vec to remove an extra exp()
        by @gouwsmeister
      
      - Python3 fixes to remove basestring / support for unicode by @mrry
      
      - Remove some comments by Josh
      
      - Specify exact versions of bower dependencies for TensorBoard by
        @danmane.
      
      Base CL: 107742361
      011e9bac
    • V
      TensorFlow: Upstream changes from afternoon. · d50565b3
      Vijay Vasudevan 提交于
      Changes:
      - Ptrdiff -> DenseIndex change by @jiayq
      
      - Fix to scoping the logging in logging.py by @dga
      
      - Improvement to Conv2DBackpropFilter on CPU by Andy
      
      - Remove lookup table wrappers for the time being (wasn't in our
        public API yet) by Yukata
      
      - Add a check similar to numpy to make sure the user isn't in the
        tensorflow src directory by @vrv
      
      - More changes for  python 3 compat by @girving
      
      - Make dropout preserve shape info from input (@mrry)
      
      - Significant speed improvements by @zheng-xq to BFC allocator to bring
        on par (CPU overhead-wise) to the region allocator.  Make BFC
        allocator the default now that it's working well for a variety
        of models.
      
      - Fix a bunch of typos reported by users (@vrv)
      
      - Enable concat for bfloat16 on GPU by Ashish.
      
      Base CL: 107733123
      d50565b3
    • V
      TensorFlow: Minor updates to docs, BUILD, GPU config / perf, etc. · 4dffee7f
      Vijay Vasudevan 提交于
      Changes:
      - Updates to op documentation and index by Josh
      
      - More changes to BUILD files for python 3 support by @girving
      
      - Fix to Eigen to use DenseIndex everywhere by @jiayq
      
      - Enable configuration for cuda compute capability by @zheng-xq,
        including updates to docs.
      
      - Route aggregation method through optimizer by schuster
      
      - Updates to install instructions for bazel 0.1.1.
      
      Base CL: 107702099
      4dffee7f
  7. 12 11月, 2015 2 次提交
    • V
      TensorFlow: upstream changes from the afternoon. · f2102f4e
      Vijay Vasudevan 提交于
      Changes:
      
      - futurize --stage2 changes for Python 3 compatibility by @girving.
      
      - Small updates to documentation by @vrv, schuster and others
      
      - Account for failure of std::thread::hardware_concurrency by @ebrevdo.
      
      - More changes for backwards-compatibility tests by Josh
      
      - Updates to python op doc generation by Josh
      
      - Added support for using the best-fit allocator via ConfigProto by @vrv.
      
      - Rename LocalSession to DirectSession, since local was a bad name for
        it.
      
      - Enable tf.nn.moments() to work with tensors of unknown shape by @mrry.
        GITHUB_ISSUE: 139
      
      - Changes for Android build by Andrew.
      
      Base CL: 107645181
      f2102f4e
    • V
      Upstream a number of changes to git. · 3961abed
      Vijay Vasudevan 提交于
      Changes:
      - Updates to README / os_setup for common installation issues
        by ebrevdo, vrv, wicke, anelia, dga
      
      - Add a test for backwards compatibility checks by Josh
      
      - Simplifications to tiling/padding of scalars by bsteiner
      
      - Improve listing of devices when no devices are known by Matthieu
      
      Base CL: 107607137
      3961abed
  8. 11 11月, 2015 3 次提交
  9. 10 11月, 2015 2 次提交
    • V
      TensorFlow: Upstream a batch of changes to git. · 9274f5aa
      Vijay Vasudevan 提交于
      Changes:
      
      - Some changes to make our ability to handle external contributions
        simpler (e.g., adding some markers, adding empty __init__.py files).
      
      - Fixing documentation of SummaryWriter.add_summary().
      
      - Some input validation changes for queues/barriers.
      
      - Fixing the ptb tutorial (thanks to @kentonl for reporting),
        fixes, github issue 52.
      
      - Some documentation suggestions for dealing with a few install
        problems.
      
      - Speed improvements to conv2d gradient kernels on CPU.
      
      - More documentation fixes for the website.  Thanks to @makky3939 and
        @keonkim for reports.
      
      - Changes / fixes to the Docker files.
      
      - Changes build_pip_package to not create an sdist.
      
      - Adds tensorboard example script.
      
      Base CL: 107445267
      9274f5aa
    • V
      TensorFlow: Initial steps towards python3 support, some documentation · 61d3a958
      Vijay Vasudevan 提交于
      bug fixes -- reindents to 2 for some of the files to match our internal
      requirements.
      
      Thanks to Martin Andrews for the basic_usage.md suggested fix via
      Gerrit.
      
      Base CL: 107394029
      61d3a958
  10. 09 11月, 2015 11 次提交
  11. 08 11月, 2015 3 次提交
  12. 07 11月, 2015 3 次提交