summaryrefslogtreecommitdiff
path: root/neuralnetworks/aidl/vts/functional/ValidateModel.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-04-07 01:07:11 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-04-07 01:07:11 +0000
commitaa0540c86a939e6c0f63e17d13d2aed3d9b53777 (patch)
treec046c8537fd30bad7f4a0254d8cfd3b51e2bc6f2 /neuralnetworks/aidl/vts/functional/ValidateModel.cpp
parenta43eff3d6efec6cbaf0863d390dc9b4bd58bdaa1 (diff)
parentfa75337fa30e6215f3a7c1948201daf2f316dd8a (diff)
Snap for 7263361 from fa75337fa30e6215f3a7c1948201daf2f316dd8a to sc-release
Change-Id: I8172347dc846d03c09e5eb97bea9c83e20c76d75
Diffstat (limited to 'neuralnetworks/aidl/vts/functional/ValidateModel.cpp')
-rw-r--r--neuralnetworks/aidl/vts/functional/ValidateModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp
index 6d84e1ed7b..94d3daf6bb 100644
--- a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp
+++ b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp
@@ -1312,7 +1312,7 @@ static void mutateExecutionPriorityTest(const std::shared_ptr<IDevice>& device,
void validateModel(const std::shared_ptr<IDevice>& device, const Model& model) {
const auto numberOfConsumers =
nn::countNumberOfConsumers(model.main.operands.size(),
- nn::convert(model.main.operations).value())
+ nn::unvalidatedConvert(model.main.operations).value())
.value();
mutateExecutionOrderTest(device, model, numberOfConsumers);
mutateOperandTypeTest(device, model);