commit | 031f4c1e5f78cef4e660e3a3ba5c8e401abbe2e8 | [log] [tgz] |
---|---|---|
author | Henrik Hoglind <henrik.hoglind@arm.com> | Thu Mar 25 08:32:23 2021 +0100 |
committer | Henrik Hoglind <henrik.hoglind@arm.com> | Thu Mar 25 08:32:23 2021 +0100 |
tree | a32afdc2945191e30b3e14506f1ecede5cf7d20a | |
parent | 097d2929c1cbc872d1780d98f3f58bf2647fe51c [diff] |
Add support for float32 in inference_runner Change-Id: I1c618be058863a3a2457a849e70b22851aa91b3a
diff --git a/driver_library/src/ethosu.cpp b/driver_library/src/ethosu.cpp index 2c498a8..40fc909 100644 --- a/driver_library/src/ethosu.cpp +++ b/driver_library/src/ethosu.cpp
@@ -64,6 +64,8 @@ return 1; case tflite::TensorType::TensorType_INT16: return 2; + case tflite::TensorType::TensorType_FLOAT32: + return 4; default: throw EthosU::Exception("Unsupported tensor type"); }