Home
last modified time | relevance | path

Searched defs:preparedModel (Results 1 – 25 of 57) sorted by relevance

123

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp83 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
105 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
121 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
137 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
153 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
182 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
212 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
228 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
244 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
261 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp150 const auto preparedModel = in TEST() local
167 const auto preparedModel = in TEST() local
185 const auto preparedModel = in TEST() local
202 const auto preparedModel = in TEST() local
219 const auto preparedModel = in TEST() local
237 const auto preparedModel = in TEST() local
256 const auto preparedModel = in TEST() local
274 const auto preparedModel = in TEST() local
291 const auto preparedModel = in TEST() local
308 const auto preparedModel = in TEST() local
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp178 const auto preparedModel = in TEST() local
195 const auto preparedModel = in TEST() local
213 const auto preparedModel = in TEST() local
230 const auto preparedModel = in TEST() local
247 const auto preparedModel = in TEST() local
265 const auto preparedModel = in TEST() local
284 const auto preparedModel = in TEST() local
302 const auto preparedModel = in TEST() local
319 const auto preparedModel = in TEST() local
336 const auto preparedModel = in TEST() local
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DPreparedModelTest.cpp118 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
134 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
151 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
168 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
184 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
200 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
218 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
232 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
254 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
275 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST() local
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp245 std::shared_ptr<IPreparedModel> preparedModel; in createConvPreparedModel() local
253 std::shared_ptr<IPreparedModel> preparedModel; in createAddPreparedModel() local
364 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
405 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
422 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
439 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
457 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
498 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
511 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
524 auto preparedModel = createConvPreparedModel(kTestOperand); in TEST_P() local
[all …]
DValidateRequest.cpp42 static void validate(const std::shared_ptr<IPreparedModel>& preparedModel, in validate()
106 std::shared_ptr<IBurst> createBurst(const std::shared_ptr<IPreparedModel>& preparedModel) { in createBurst()
115 static void removeInputTest(const std::shared_ptr<IPreparedModel>& preparedModel, in removeInputTest()
127 static void removeOutputTest(const std::shared_ptr<IPreparedModel>& preparedModel, in removeOutputTest()
139 void validateRequest(const std::shared_ptr<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
144 void validateBurst(const std::shared_ptr<IPreparedModel>& preparedModel, const Request& request) { in validateBurst()
203 void validateRequestFailure(const std::shared_ptr<IPreparedModel>& preparedModel, in validateRequestFailure()
DQualityOfServiceTests.cpp107 const std::shared_ptr<IPreparedModel> preparedModel = preparedModelCallback->getPreparedModel(); in runPrepareModelTest() local
158 static MaybeResults executeSynchronously(const std::shared_ptr<IPreparedModel>& preparedModel, in executeSynchronously()
184 static MaybeResults executeBurst(const std::shared_ptr<IPreparedModel>& preparedModel, in executeBurst()
222 void runExecutionTest(const std::shared_ptr<IPreparedModel>& preparedModel, in runExecutionTest()
279 void runExecutionTests(const std::shared_ptr<IPreparedModel>& preparedModel, in runExecutionTests()
298 std::shared_ptr<IPreparedModel> preparedModel; in runTests() local
DCompilationCachingTests.cpp319 std::shared_ptr<IPreparedModel>* preparedModel = nullptr) { in saveModelToCache()
371 std::shared_ptr<IPreparedModel>* preparedModel, ErrorStatus* status, in prepareModelFromCache()
420 std::shared_ptr<IPreparedModel> preparedModel; in verifyModelPreparationBehaviour() local
487 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
528 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
598 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
616 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
633 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
651 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
737 std::shared_ptr<IPreparedModel> preparedModel = nullptr; in TEST_P() local
[all …]
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientPreparedModel.cpp44 auto preparedModel = resilientPreparedModel.getPreparedModel(); in protect() local
74 auto preparedModel = NN_TRY(makePreparedModel()); in create() local
82 nn::SharedPreparedModel preparedModel) in ResilientPreparedModel()
111 &loopTimeoutDuration](const nn::IPreparedModel& preparedModel) { in execute()
125 &timeoutDurationAfterFence](const nn::IPreparedModel& preparedModel) { in executeFenced()
167 &loopTimeoutDuration](const nn::IPreparedModel& preparedModel) { in createReusableExecutionInternal()
185 const auto fn = [](const nn::IPreparedModel& preparedModel) { in configureExecutionBurstInternal()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DCallbacks.cpp51 V1_0::ErrorStatus status, const sp<V1_0::IPreparedModel>& preparedModel) { in prepareModelCallback()
79 ErrorStatus status, const sp<IPreparedModel>& preparedModel) { in prepareModelCallback()
99 const sp<V1_0::IPreparedModel>& preparedModel) { in notify()
105 const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2()
111 const sp<IPreparedModel>& preparedModel) { in notify_1_3()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp38 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate()
56 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
66 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
76 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DCallbacks.cpp47 V1_0::ErrorStatus status, const sp<V1_0::IPreparedModel>& preparedModel) { in prepareModelCallback()
64 V1_0::ErrorStatus status, const sp<IPreparedModel>& preparedModel) { in prepareModelCallback()
83 const sp<V1_0::IPreparedModel>& preparedModel) { in notify()
89 const sp<IPreparedModel>& preparedModel) { in notify_1_2()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp320 sp<IPreparedModel>* preparedModel = nullptr) { in saveModelToCache()
367 sp<IPreparedModel>* preparedModel, ErrorStatus* status) { in prepareModelFromCache()
426 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
467 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
539 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
564 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
588 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
613 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
646 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
662 sp<IPreparedModel> preparedModel = nullptr; in TEST_P() local
[all …]
DValidateRequest.cpp44 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate()
133 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
143 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
153 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
158 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
DValidateBurst.cpp57 static void createBurst(const sp<IPreparedModel>& preparedModel, const sp<IBurstCallback>& callback, in createBurst()
97 const sp<IPreparedModel>& preparedModel, size_t resultChannelLength, in createBurstWithResultChannelLength()
241 static void validateBurstSerialization(const sp<IPreparedModel>& preparedModel, in validateBurstSerialization()
277 static void validateBurstFmqLength(const sp<IPreparedModel>& preparedModel, in validateBurstFmqLength()
367 static void validateBurstSanitized(const sp<IPreparedModel>& preparedModel, in validateBurstSanitized()
400 void validateBurst(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateBurst()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp34 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate()
72 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
82 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
92 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCallbacks.cpp36 const sp<V1_0::IPreparedModel>& preparedModel) { in notifyInternal()
56 const sp<V1_0::IPreparedModel>& preparedModel) { in notify()
61 const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2()
66 const sp<V1_3::IPreparedModel>& preparedModel) { in notify_1_3()
DValidateRequest.cpp48 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate()
155 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest()
165 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest()
175 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequest()
180 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateRequestFailure()
DQualityOfServiceTests.cpp116 const sp<IPreparedModel> preparedModel = in runPrepareModelTest() local
170 static MaybeResults executeAsynchronously(const sp<IPreparedModel>& preparedModel, in executeAsynchronously()
193 static MaybeResults executeSynchronously(const sp<IPreparedModel>& preparedModel, in executeSynchronously()
216 void runExecutionTest(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in runExecutionTest()
273 void runExecutionTests(const sp<IPreparedModel>& preparedModel, const TestModel& testModel, in runExecutionTests()
291 sp<IPreparedModel> preparedModel; in runTests() local
DVtsHalNeuralnetworks.cpp40 sp<IPreparedModel>* preparedModel, bool reportSkipping) { in createPreparedModel()
137 void validateExecuteFenced(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateExecuteFenced()
154 sp<IPreparedModel> preparedModel; in validateEverything() local
173 sp<IPreparedModel> preparedModel; in validateFailure() local
DValidateBurst.cpp62 static void createBurst(const sp<IPreparedModel>& preparedModel, const sp<IBurstCallback>& callback, in createBurst()
103 const sp<IPreparedModel>& preparedModel, size_t resultChannelLength, in createBurstWithResultChannelLength()
247 static void validateBurstSerialization(const sp<IPreparedModel>& preparedModel, in validateBurstSerialization()
283 static void validateBurstFmqLength(const sp<IPreparedModel>& preparedModel, in validateBurstFmqLength()
373 static void validateBurstSanitized(const sp<IPreparedModel>& preparedModel, in validateBurstSanitized()
406 void validateBurst(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateBurst()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DCallbacks.cpp40 ErrorStatus status, const std::shared_ptr<IPreparedModel>& preparedModel) { in prepareModelCallback()
48 ErrorStatus status, const std::shared_ptr<IPreparedModel>& preparedModel) { in notify()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DExecution.cpp43 std::shared_ptr<const PreparedModel> preparedModel, Request request, in create()
54 std::shared_ptr<const PreparedModel> preparedModel, Request request, in Execution()
DBurst.cpp33 nn::SharedPreparedModel preparedModel) { in create()
42 Burst::Burst(PrivateConstructorTag /*tag*/, nn::SharedPreparedModel preparedModel) in Burst()
DCallbacks.cpp48 ErrorStatus status, const sp<IPreparedModel>& preparedModel) { in prepareModelCallback()
60 const sp<IPreparedModel>& preparedModel) { in notify()

123