diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-09-27 12:26:14 +0100 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-10-13 15:48:17 +0000 |
commit | 93d4390f9aa5c4369f889e1cd336aa4e809ff6a7 (patch) | |
tree | ee3e73447b356a55e493db8470932da893065c89 /reference_model | |
parent | 71dfc70794c64c7eadcc8083cd2ddfb6fda0726d (diff) | |
download | reference_model-93d4390f9aa5c4369f889e1cd336aa4e809ff6a7.tar.gz |
Minor fixes & add FP16 support to refmodel testing and conformance gen
Improve base inference conformance generation:
* Change to target specific dtypes required for conformance tests.
* Reduce dimension sizes of ERROR_IF tests.
NOTE: Will impact tensor, clamp and all ERROR_IF tests.
Add option to change seed on conformance generation for extra
testing.
Stop creation of convolution tests with negative output dimensions.
Improve reporting on failing to allocate tensor due to above issue.
Fix runner to correctly pass ref model debug flags.
Update reference_model examples.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I992180dcfe265a7d50edfb151c9f38eeaef5c369
Diffstat (limited to 'reference_model')
-rw-r--r-- | reference_model/src/subgraph_traverser.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/reference_model/src/subgraph_traverser.cc b/reference_model/src/subgraph_traverser.cc index 386f0e5..cbb7001 100644 --- a/reference_model/src/subgraph_traverser.cc +++ b/reference_model/src/subgraph_traverser.cc @@ -327,6 +327,7 @@ int SubgraphTraverser::allocateTensor() { if (dim <= 0) { + DEBUG_INFO(GT, "Failed to allocate tensor %s with invalid dimension of %d", ts->GetName().c_str(), dim); this->setGraphStatus(GraphStatus::TOSA_UNPREDICTABLE); return 1; } |