This patch fixes below build warning,
warning: 'const void InferenceEngineImpl::ARMNNImpl::GraphDebugCallback(armnn::LayerGuid,
unsigned int, armnn::ITensorHandle*)' defined but not used [-Wunused-function]
Change-Id: I736cb165ba29300b376ea834df379f78a595e9ce
Signed-off-by: Inki Dae <inki.dae@samsung.com>
return ret;
}
+#if GRAPH_DEBUG
static const void GraphDebugCallback(armnn::LayerGuid guid, unsigned int slotIndex, armnn::ITensorHandle* tensor)
{
std::cout << "input tensor shape : " << tensor->GetShape() << ", ";
// TODO.
}
+#endif
int InferenceARMNN::Load(std::vector<std::string> model_paths,
inference_model_format_e model_format)