diff options
author | Scott Lobdell <slobdell@google.com> | 2021-03-11 19:08:54 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2021-03-11 19:08:54 +0000 |
commit | a4bc4d3a2b36280f54cdad53b0bb0de8b4223d55 (patch) | |
tree | 0c8d19a6d8d901cb20498399ab3e3f8434aa1fcd /neuralnetworks/aidl/vts/functional/ValidateModel.cpp | |
parent | 86bfa300dfbcf500ad04bede19a2b5f0e6d418b9 (diff) | |
parent | f4b38dd9acd9e6e5803ceda6c6a467c97512216e (diff) |
Merge SP1A.210311.001
Change-Id: Icc232e4382ad1df43912307e19aa40f579396b6b
Diffstat (limited to 'neuralnetworks/aidl/vts/functional/ValidateModel.cpp')
-rw-r--r-- | neuralnetworks/aidl/vts/functional/ValidateModel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp index b84d981abd..6d84e1ed7b 100644 --- a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp +++ b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp @@ -1310,8 +1310,10 @@ static void mutateExecutionPriorityTest(const std::shared_ptr<IDevice>& device, ////////////////////////// ENTRY POINT ////////////////////////////// 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()); + const auto numberOfConsumers = + nn::countNumberOfConsumers(model.main.operands.size(), + nn::convert(model.main.operations).value()) + .value(); mutateExecutionOrderTest(device, model, numberOfConsumers); mutateOperandTypeTest(device, model); mutateOperandRankTest(device, model); |