forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BYOC][ACL] Improved pooling support (apache#6248)
* [BYOC][ACL] Improved pooling support Adds support in ACL for the following relay pooling operators and composite functions: * nn.avg_pool2d (fp32), cast + nn.avg_pool2d(uint8) + cast => AVG pool * nn.global_max_pool2d => Global MAX pool * nn.global_avg_pool2d, cast + nn.global_avg_pool2d(uint8) + cast => Global AVG pool * power(2) + nn.avg_pool2d + sqrt => L2 pooling (for fp32 only) Tests updated to reflect these changes. Change-Id: I1644b67b60ebb252344eb9695a521d2d958c724e * Address comments Change-Id: Ibe8a61b4c42da246ce54701c89ea985b423c8f83 * Fix not checking output saturation Change-Id: Ia6f3d9db31cfb8c417d8556d29961210fea418b2 * Use defined set of trials Change-Id: Ib180e3a0cbb84d6fa00c7e1994f58cb62662db15 * Rebase master Change-Id: I5c932751cd38da06d6f2b397be5d8ab7fdeb169f
- Loading branch information
1 parent
4c91eed
commit 0354bd9
Showing
11 changed files
with
506 additions
and
107 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.