From 93d4390f9aa5c4369f889e1cd336aa4e809ff6a7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 27 Sep 2022 12:26:14 +0100 Subject: 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 Change-Id: I992180dcfe265a7d50edfb151c9f38eeaef5c369 --- reference_model/src/subgraph_traverser.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'reference_model/src/subgraph_traverser.cc') 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; } -- cgit v1.2.1