Skip to content

Fix comparison in neon_depthwise_conv_op test. - #16844

Merged
rmlarsen merged 3 commits into
tensorflow:masterfrom
rmlarsen:master
Feb 7, 2018
Merged

rmlarsen merged 3 commits into
tensorflow:masterfrom
rmlarsen:master

Conversation

@rmlarsen

@rmlarsen rmlarsen commented Feb 7, 2018 •

Copy link
Copy Markdown
Contributor

This is in preparation for enabling Grappler for all TensorFlow Python tests.

assertArrayNear compares absolute instead of relative error. For floating point computation you want the latter.
@rmlarsen rmlarsen self-assigned this Feb 7, 2018
@rmlarsen
rmlarsen requested a review from jhseu February 7, 2018 20:47
@rmlarsen rmlarsen added awaiting review Pull request awaiting review kokoro:run labels Feb 7, 2018
Fix bug in and speed up ConstantFolding::CreateNodeDef():
  * Fix bug trying to store more than kintmax32 values in a repeated proto field.
  * Speed up populating compressed format. Example: tensorflow/python/kernel_tests/large_concat_op_test with size = 2**29+6 goes from ~30 seconds to ~15 seconds. The fraction of time spent in ConstantFolding::CreateNodeDef() goes down from about 35% to about 12%.
@rmlarsen
rmlarsen requested a review from gunan February 7, 2018 20:56
@rmlarsen rmlarsen closed this Feb 7, 2018
@rmlarsen rmlarsen reopened this Feb 7, 2018
@rmlarsen
rmlarsen merged commit 19cecc4 into tensorflow:master Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Pull request awaiting review cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants