From d6539c58519962acd8967e93ceb2da049631c832 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 22 May 2019 18:00:30 +0100 Subject: IVGCVSW-2911 Add Android Q support to android-nn-driver infrastructure * Updated Android.mk to build Android Q * Added androidnn.go to inject cpp flags for Q * Create Runtime when ACL is not enabled Change-Id: Ia3e7a8e484fc81ce63998a65e29753cbf941173c Signed-off-by: Sadik Armagan Signed-off-by: Kevin May --- test/1.1/Mean.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/1.1/Mean.cpp') diff --git a/test/1.1/Mean.cpp b/test/1.1/Mean.cpp index 4ebb8cfa..7d482433 100644 --- a/test/1.1/Mean.cpp +++ b/test/1.1/Mean.cpp @@ -32,7 +32,7 @@ void MeanTestImpl(const TestTensor& input, V1_1::Model model = {}; AddInputOperand (model, input.GetDimensions()); - AddTensorOperand(model, axisDimensions, const_cast(axisValues), OperandType::TENSOR_INT32); + AddTensorOperand(model, axisDimensions, const_cast(axisValues), V1_0::OperandType::TENSOR_INT32); AddIntOperand (model, keepDims); AddOutputOperand(model, expectedOutput.GetDimensions()); @@ -42,7 +42,7 @@ void MeanTestImpl(const TestTensor& input, model.operations[0].outputs = hidl_vec{ 3 }; model.relaxComputationFloat32toFloat16 = fp16Enabled; - android::sp preparedModel = PrepareModel(model, *driver); + android::sp preparedModel = PrepareModel(model, *driver); // The request's memory pools will follow the same order as the inputs DataLocation inLoc = {}; -- cgit v1.2.1