-
Notifications
You must be signed in to change notification settings - Fork 844
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compute output shapes for some kernels (#2356)
@tensorflow/micro Update the output tensor shape during prepare phase when the computed shape does not match the shape in the flatbuffer. Kernels: - BATCH_TO_SPACE_ND - SPACE_TO_BATCH_ND - CONV - RESHAPE - EXPAND_DIMS - DEPTHWISE_CONV Update CMSIS_NN and ARC_MLI optimized kernels. Add additional tests from TfLite for BATCH_TO_SPACE_ND and SPACE_TO_BATCH_ND. Update existing tests. Add tests for Keras model using convolution with dilation > 1. Update memory_arena_threshold_test to increase total, tail, and persistent allocation sizes: - Add 20 bytes for CONV output shape - Add 15 bytes for arena allocation alignment - x2 convolution layers Update micro_speech_test arena size as per description in C++ code. See #2319 for additional details. Resolves [b/317362237](https://issuetracker.google.com/317362237) bug=fixes #2368 #1646 #1629 #1231 #2338 #2319
- Loading branch information
1 parent
17d0e7f
commit bb54330
Showing
27 changed files
with
1,763 additions
and
480 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
Oops, something went wrong.