Permalink
Show file tree
Hide file tree
14 changes: 8 additions & 6 deletions
14
tensorflow/lite/kernels/internal/averagepool_quantized_test.cc
4 changes: 3 additions & 1 deletion
4
tensorflow/lite/kernels/internal/optimized/integer_ops/pooling.h
46 changes: 25 additions & 21 deletions
46
tensorflow/lite/kernels/internal/optimized/legacy_optimized_ops.h
8 changes: 6 additions & 2 deletions
8
tensorflow/lite/kernels/internal/reference/integer_ops/pooling.h
46 changes: 25 additions & 21 deletions
46
tensorflow/lite/kernels/internal/reference/legacy_reference_ops.h
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Prevent a division by 0 in average ops.
PiperOrigin-RevId: 385184660 Change-Id: I7affd4554f9b336fca29ac68f633232c094d0bd3
- Loading branch information
1 parent
7a1346b
commit dfa22b3
Showing
8 changed files
with
165 additions
and
132 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
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
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
Oops, something went wrong.