aboutsummaryrefslogtreecommitdiff
path: root/test/1.1/Mean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/1.1/Mean.cpp')
-rw-r--r--test/1.1/Mean.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/1.1/Mean.cpp b/test/1.1/Mean.cpp
index 6e96d84b..529371e1 100644
--- a/test/1.1/Mean.cpp
+++ b/test/1.1/Mean.cpp
@@ -86,7 +86,7 @@ void MeanTestImpl(const TestTensor& input,
AddPoolAndSetData(input.GetNumElements(), request, input.GetData());
// Add memory for the output
- android::sp<IMemory> outMemory = AddPoolAndGetData(expectedOutput.GetNumElements(), request);
+ android::sp<IMemory> outMemory = AddPoolAndGetData<float>(expectedOutput.GetNumElements(), request);
const float* outputData = static_cast<const float*>(static_cast<void*>(outMemory->getPointer()));
ErrorStatus execStatus = Execute(preparedModel, request);