diff options
author | Michael Butler <butlermichael@google.com> | 2021-10-14 22:04:59 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-10-26 21:17:10 +0000 |
commit | 301ef060e92d87772f30f309d236bf02bfd75d13 (patch) | |
tree | 9f1d9bb38a11b702206ff4cf741613acf9559a80 /neuralnetworks/aidl/vts/functional/ValidateModel.cpp | |
parent | 68e98f40dc84cbe536721e8926ca075019c97999 (diff) |
Remove hal::utils::countNumberOfConsumers
This CL removes hal::utils::countNumberOfConsumers and uses the existing
nn::countNumberOfConsumers.
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: I7d06ea355eae7aa80b94b09a23d606bbb2322120
Diffstat (limited to 'neuralnetworks/aidl/vts/functional/ValidateModel.cpp')
-rw-r--r-- | neuralnetworks/aidl/vts/functional/ValidateModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp index 698c054941..3f3e2250c6 100644 --- a/neuralnetworks/aidl/vts/functional/ValidateModel.cpp +++ b/neuralnetworks/aidl/vts/functional/ValidateModel.cpp @@ -1315,8 +1315,8 @@ 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::unvalidatedConvert(model.main.operations).value()) + countNumberOfConsumers(model.main.operands.size(), + nn::unvalidatedConvert(model.main.operations).value()) .value(); mutateExecutionOrderTest(device, model, numberOfConsumers); mutateOperandTypeTest(device, model); |