Skip to content

Branch 138702302 - #5508

Merged
benoitsteiner merged 37 commits into
tensorflow:masterfrom
benoitsteiner:branch_138702302
Nov 10, 2016
Merged

benoitsteiner merged 37 commits into
tensorflow:masterfrom
benoitsteiner:branch_138702302

Conversation

@benoitsteiner

Copy link
Copy Markdown
Contributor

No description provided.

asimshankar and others added 30 commits November 9, 2016 09:22
This change itself is a no-op. However, my plan is to change the
API contract with the TF_Session*Run functions in a follow up
change so that they do NOT take ownership of the input tensor values.

This just makes it slightly easier to do so.
Change: 138646376
* Switch BaseSaverBuilder's default write_version to V2 as well.  This
  shouldn't affect users since most use Saver directly.
* Doc cleanups.
Change: 138653674
type to an op function.
Change: 138661931
…query parameter.

Let the client decide the size of tensors it can handle, instead of the server having that control.
Change: 138665737
…ert result

from proto TensorShape before comparison).
Change: 138668146
…rDef is

not a valid configuration.
Change: 138676614
Change: 138678513
…terial design.

Also if the original tensor is bigger than what the browser can handle, notify the user that the tensor was trimmed.
Change: 138679248
… We have switched to using CompleteOrthogonalDecomposition in Eigen, which computes the minimum-norm solution.

Change: 138679456
In a future CL, all example usage will be migrated, and tf.train.SummaryWriter will be deprecated.
Change: 138683254
There is now a deprecation warning for each one, saying they will be removed by 11/30/2016, with instructions on migration.
Change: 138687264
google3, and enable it in github. This is because we haven't imported the backed in google3 just yet.
Change: 138689620
The current implementation generates intermediate tensors whose size grows
exponentially as a function of the sum of the ranks of the input tensors.  The
new implementation reduces to batch matrix multiplication, which limits the
size of intermediate tensors to the size of the intermediate products.  This
also allows the function to benefit from GPU acceleration.

Benchmarking:

The following einsum() multiplies two 1000 x 1000 matrices:

  m = tf.random_normal((1000, 1000))
  x = tf.einsum('ij,jk->ik', m, m)

Timing results on a Z440 workstation:

  Before: 7s, 4GB of ram
  After: 0.04s, 80MB of ram
Change: 138693729
aselle and others added 7 commits November 9, 2016 16:22
i.e. truncatediv, floor_div (will be renamed to floordiv once that is
deleted), truncatemod, floormod, realdiv.
Change: 138697422
…, which is then added to the list of dependencies in the main "all_opensource_files" filegroup

Change: 138698669
… etc

This is part of the general Summary-related API reorganization leading up to the TensorFlow 1.0 release.
We're moving all Summary-related functionality to the tf.summary submodule.

After this change, we will have TensorFlow use the new endpoint, and deprecate tf.Summary, tf.Event, etc.

Full list of aliases created:
tf.summary.Summary
tf.summary.SummaryDescription
tf.summary.SessionLog
tf.summary.TaggedRunMetadata
tf.summary.Event

I updated the usage in a few tests, just to verify the change works.
Change: 138701324
@mention-bot

Copy link
Copy Markdown

@benoitsteiner, thanks for your PR! By analyzing the history of the files in this pull request, we identified @tensorflower-gardener, @samjabrahams and @keveman to be potential reviewers.

@benoitsteiner

Copy link
Copy Markdown
Contributor Author

Jenkins, test this please.

@benoitsteiner benoitsteiner self-assigned this Nov 10, 2016
@benoitsteiner
benoitsteiner merged commit e7508b6 into tensorflow:master Nov 10, 2016

@Mazecreator Mazecreator left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be a cut n paste issue with the deprecated warning text. The " tf.summary.image" and all the following changes reference "tf.summary.histogram uses the node name instead of the tag".. This should be update to "tf.summary.XXXXX" for clarity.

Sorry, first time using review from source code option: This issue is related to the tf.X_smmary deprecated warning in this file: tensorflow/python/ops/logging_ops.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.