From f769f292ba506784c8d21d691de821f4e3b53fec Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Fri, 25 Jun 2021 12:53:09 +0100 Subject: IVGCVSW-6178 Add additional compiler warnings to the driver Signed-off-by: Finn Williams Change-Id: I2209251736a095583fffc8da774188e0dccfc932 --- ModelToINetworkConverter.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'ModelToINetworkConverter.cpp') diff --git a/ModelToINetworkConverter.cpp b/ModelToINetworkConverter.cpp index 41716b0f..4665ef16 100644 --- a/ModelToINetworkConverter.cpp +++ b/ModelToINetworkConverter.cpp @@ -95,7 +95,6 @@ void ModelToINetworkConverter::Convert() ALOGV("ModelToINetworkConverter::Convert(): getMainModel(m_Model).operands[inputIndex];"); const HalOperand& operand = getMainModel(m_Model).operands[inputIndex]; ALOGV("ModelToINetworkConverter::Convert(): GetTensorInfoForOperand(operand)"); - const armnn::TensorInfo& tensor = GetTensorInfoForOperand(operand); const std::string layerName = "Input_" + std::to_string(i); ALOGV("ModelToINetworkConverter::Convert(): m_Data.m_Network->AddInputLayer(i, layerName.c_str())"); armnn::IConnectableLayer* layer = m_Data.m_Network->AddInputLayer(i, layerName.c_str()); @@ -192,8 +191,6 @@ void ModelToINetworkConverter::Convert() { // outputs in android nn are represented by operands uint32_t outputIndex = getMainModel(m_Model).outputIndexes[i]; - const HalOperand& operand = getMainModel(m_Model).operands[outputIndex]; - const armnn::TensorInfo& tensor = GetTensorInfoForOperand(operand); const std::string layerName = "Output_" + std::to_string(i); armnn::IConnectableLayer* layer = m_Data.m_Network->AddOutputLayer(i, layerName.c_str()); -- cgit v1.2.1