forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a CPU kernel for adjust_contrast that is 45 times faster.
Add more shapes and a numpy reference implementation for testing. Before this CL: BM_AdjustContrast_cpu_1_299_299 3772927 28001819 5000 9.134M items/s After this CL: BM_AdjustContrast_cpu_1_299_299 285677 596725 5000 428.637M items/s TESTED: - opensource_build passed https://ci.tensorflow.org/job/tensorflow-cl-presubmit-multijob/7138/ - unit tests passed Change: 136495531
- Loading branch information
1 parent
29c367c
commit 44843fb
Showing
2 changed files
with
257 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters