From 7d2ccfd5a804c265dc18636d4dd9ea2df40c3403 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Tue, 29 Oct 2019 14:03:51 +0000 Subject: Improve logging in hal_1_2::HalPolicy::ConvertResize() * Added resize method (Bilinear or NearestNeighbor) to log * Removed superfluous call to SetTensorInfo() for output slot !armnn:2179 Signed-off-by: Aron Virginas-Tar Change-Id: I4d1ad0d4c1df67c62c71f79125612b0dffa85455 --- 1.2/HalPolicy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.2/HalPolicy.cpp b/1.2/HalPolicy.cpp index 55df9dab..3e836d49 100644 --- a/1.2/HalPolicy.cpp +++ b/1.2/HalPolicy.cpp @@ -1636,6 +1636,7 @@ bool HalPolicy::ConvertResize(const Operation& operation, ResizeMethod resizeMethod) { ALOGV("hal_1_2::HalPolicy::ConvertResize()"); + ALOGV("resizeMethod = %s", GetResizeMethodAsCString(resizeMethod)); LayerInputHandle input = ConvertToLayerInputHandle(operation, 0, model, data); if (!input.IsValid()) @@ -1741,7 +1742,6 @@ bool HalPolicy::ConvertResize(const Operation& operation, assert(layer != nullptr); - layer->GetOutputSlot(0).SetTensorInfo(outputInfo); input.Connect(layer->GetInputSlot(0)); return SetupAndTrackLayerOutputSlot(operation, 0, *layer, model, data); -- cgit v1.2.1