aboutsummaryrefslogtreecommitdiff
path: root/test/Convolution2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Convolution2D.cpp')
-rw-r--r--test/Convolution2D.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Convolution2D.cpp b/test/Convolution2D.cpp
index 90edb415..cc301bc9 100644
--- a/test/Convolution2D.cpp
+++ b/test/Convolution2D.cpp
@@ -20,7 +20,7 @@ namespace
void PaddingTestImpl(android::nn::PaddingScheme paddingScheme)
{
auto driver = std::make_unique<ArmnnDriver>(DriverOptions(armnn::Compute::CpuRef));
- Model model = {};
+ V1_0::Model model = {};
uint32_t outSize = paddingScheme == android::nn::kPaddingSame ? 2 : 1;
@@ -39,7 +39,7 @@ void PaddingTestImpl(android::nn::PaddingScheme paddingScheme)
// make the convolution operation
model.operations.resize(1);
- model.operations[0].type = OperationType::CONV_2D;
+ model.operations[0].type = V1_0::OperationType::CONV_2D;
model.operations[0].inputs = hidl_vec<uint32_t>{0, 1, 2, 3, 4, 5, 6};
model.operations[0].outputs = hidl_vec<uint32_t>{7};