Commit 9065899
committed
LocalResponseNormalization: We're spending about half of the time in this function converting to and from double. Do the computation in the float domain, I don't think there is any risk of numerical instability here.
PiperOrigin-RevId: 320588654
Change-Id: Ia641f6359b5966aa669de037d355292a25c08bed1 parent 633c41f commit 9065899
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3815 | 3815 | | |
3816 | 3816 | | |
3817 | 3817 | | |
| 3818 | + | |
3818 | 3819 | | |
3819 | 3820 | | |
3820 | 3821 | | |
| |||
3827 | 3828 | | |
3828 | 3829 | | |
3829 | 3830 | | |
3830 | | - | |
| 3831 | + | |
3831 | 3832 | | |
3832 | 3833 | | |
3833 | 3834 | | |
| |||
0 commit comments