-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move two tests from GTest to TFLite testing to run on CortexM (#263)
* Move two CortexM tests from GTest to TFLite testing GTest is replaced with the TFLiteMicro testing framework, making it possible to run these tests also on the CortexM. The two tests for which this is done don't used advanced features (parameter sweep) and therefore work equally well without GTest. * Add two existing tests for the CorexM target Added two existing tests for BGEMV and the quantized multiplier to the build_lcem script to run on CortexM. The tests are slightly modified since std::cerr and the C++ random number generator are not available. * Fix Bazel linter issues * Fix compilation error with std::round for RISC-V * Fix issues for RISC-V target * Improve QEMU check in build script * Fix error reporting and micro compiler flags * Fix issue with tflite error reporting Co-authored-by: Cedric Nugteren <cedric@plumerai.com>
- Loading branch information
Showing
6 changed files
with
103 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
licenses(["notice"]) # Apache 2.0 | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
cc_library( | ||
name = "platform", | ||
srcs = ["platform.cc"], | ||
hdrs = ["platform.h"], | ||
) |
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