Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch 201392512 #20156

Merged
merged 200 commits into from
Jun 21, 2018
Merged

Branch 201392512 #20156

merged 200 commits into from
Jun 21, 2018

Conversation

mingxingtan
Copy link
Contributor

No description provided.

Akshay Modi and others added 30 commits June 15, 2018 10:26
…_pass and encapsulate_tpu_computations_pass, in order to detect errors earlier.

PiperOrigin-RevId: 200735435
PiperOrigin-RevId: 200736300
Make resource_var.h more widely visible and add comment about the correct lock acquisition order if locking multiple variables.

PiperOrigin-RevId: 200736416
…erted to control inputs when converting nodes to NoOps.

PiperOrigin-RevId: 200740844
…ist.

std::list is just hilariously inefficient and the postorder list creation has
been rewritten not to not depend on splicing anymore so there's no need for the
list. While there remove the old unused postorder list creation code.
PiperOrigin-RevId: 200743677
…ing and variable restoration steps.

PiperOrigin-RevId: 200747752
… the

HostTensorToLiteral function completely to prevent potential future misuse of
unnecessary memcpy.

PiperOrigin-RevId: 200750664
…l to call

tensorrt optimizer (which requires access to the Device) to create a
transformed GraphDef.

PiperOrigin-RevId: 200751174
…-specific conversion logic: base converter classes, context objects, gensym. Largely, these are pulled out from impl and pyct.

This CL only adds the module - a future CL will replace existing implementations with these.

PiperOrigin-RevId: 200751782
…ut to TensorArraySizeV3 is a Placeholder.

PiperOrigin-RevId: 200755274
fork-join parallelism (e.g., Eigen/ThreadpoolDevice or Shard).

PiperOrigin-RevId: 200756626
…unused, but they were useful while debugging.

Open visibility of the low level gen_resource_variables_ops to compiler tests.
Fix bug in shape function of TPUReplicateInput for resource variables ? MergeInputHandleShapesAndTypes does not report shape mismatches.

PiperOrigin-RevId: 200756762
PiperOrigin-RevId: 200766687
…t in graph

mode.

PiperOrigin-RevId: 200768236
Delete most print statements, use logging instead of print, and close files (to clear the "Unclosed file" warnings).

Normally this produces thousands of lines of output. Mostly noise.

PiperOrigin-RevId: 200769210
PiperOrigin-RevId: 200771096
…fault.

This change:
* Creates a new global variable, control_flow_ops._ENABLE_COND_V2, to use
  cond_v2 by default when calling tf.cond. This variable can also be
  controlled via the environment variable TF_ENABLE_COND_V2.

* Moves cond_v2 out of contrib so it's accessible from control_flow_ops.py.

* Lazily "imports" some modules in cond_v2 to avoid circular dependencies.
  Note that these lazy "imports" must be imported by the cond_v2 caller (or
  recursively by one of the caller's imports) in order for cond_v2 to have
  access to them.

* Renames the cond_v2 module to cond_v2_impl, and creates a new cond_v2 module
  that imports the cond_v2 method and the necessary extra imports. This is
  useful for explicitly calling cond_v2 outside of control_flow_ops.cond.

PiperOrigin-RevId: 200778208
PiperOrigin-RevId: 200783258
This makes it more convenient to use layer of different dtypes in a model. Instead of having to manually cast intermediate tensors between layers of different dtypes, they will automatically be casted.

This is also useful for the upcoming mixed precision API.

PiperOrigin-RevId: 200783477
Dan Moldovan and others added 8 commits June 20, 2018 11:40
…AutoGraph, but used elsewhere.

PiperOrigin-RevId: 201387308
PiperOrigin-RevId: 201389618
properly check the necessary precondition that the input depth is 1.

PiperOrigin-RevId: 201389819
Currently assumes variables are floats; there are TODOs to rectifiy this.

PiperOrigin-RevId: 201391092
1) Update stats
2) Update the number of examples visited.
3) If the number of examples reaches the target, grow the tree.

PiperOrigin-RevId: 201392512
@mingxingtan mingxingtan added the kokoro:force-run Tests on submitted change label Jun 20, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 20, 2018
@mingxingtan mingxingtan added the kokoro:force-run Tests on submitted change label Jun 20, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 20, 2018
@mingxingtan mingxingtan added the kokoro:force-run Tests on submitted change label Jun 21, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 21, 2018
@mingxingtan mingxingtan added the kokoro:force-run Tests on submitted change label Jun 21, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 21, 2018
@mingxingtan mingxingtan added the kokoro:force-run Tests on submitted change label Jun 21, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 21, 2018
@mingxingtan mingxingtan requested a review from yifeif June 21, 2018 05:34
@yifeif
Copy link
Contributor

yifeif commented Jun 21, 2018

@mdanatg do you mind taking a look at the tensorflow/contrib/autograph/converters:decorators_test failure?

@mdanatg
Copy link

mdanatg commented Jun 21, 2018

@yifeif Looking now. Looks like a missing dependency that somehow I missed.

@mingxingtan
Copy link
Contributor Author

Thanks @mdanatg and @yifeif
@mdanatg, this is blocking our push, could you prioritize it and keep me posted? Thanks!

tensorflow/contrib/autograph/converters:decorators_test uses generated code, by when private symbols have been stripped.
@mingxingtan mingxingtan merged commit 9d2d400 into tensorflow:master Jun 21, 2018
@mingxingtan mingxingtan deleted the branch_201392512 branch June 21, 2018 18:56
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.

None yet