Home
last modified time | relevance | path

Searched refs:testConfig (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp213 const TestConfig& testConfig) { in EvaluatePreparedModel() argument
215 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
221 Request request = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
222 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
229 switch (testConfig.executor) { in EvaluatePreparedModel()
236 preparedModel, request, testConfig.measureTiming, executionCallback); in EvaluatePreparedModel()
253 preparedModel, request, testConfig.measureTiming, &outputShapes, &timing); in EvaluatePreparedModel()
276 controller->compute(request, testConfig.measureTiming, keys); in EvaluatePreparedModel()
283 if (testConfig.outputType != OutputType::FULLY_SPECIFIED && in EvaluatePreparedModel()
292 if (testConfig.measureTiming == MeasureTiming::NO) { in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp552 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel() argument
558 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
564 auto maybeRequest = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
573 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
581 if (testConfig.outputType == OutputType::MISSED_DEADLINE) { in EvaluatePreparedModel()
591 switch (testConfig.executor) { in EvaluatePreparedModel()
598 ExecutePreparedModel(preparedModel, request, testConfig.measureTiming, in EvaluatePreparedModel()
616 ExecutePreparedModel(preparedModel, request, testConfig.measureTiming, in EvaluatePreparedModel()
646 controller->compute(request10, testConfig.measureTiming, keys); in EvaluatePreparedModel()
664 preparedModel->executeFenced(request, {}, testConfig.measureTiming, {}, in EvaluatePreparedModel()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp525 const TestModel& testModel, const TestConfig& testConfig, in EvaluatePreparedModel() argument
531 if (testConfig.outputType == OutputType::INSUFFICIENT && in EvaluatePreparedModel()
537 auto maybeRequest = context.createRequest(testModel, testConfig.memoryType); in EvaluatePreparedModel()
546 if (testConfig.outputType == OutputType::INSUFFICIENT) { in EvaluatePreparedModel()
554 if (testConfig.outputType == OutputType::MISSED_DEADLINE) { in EvaluatePreparedModel()
564 switch (testConfig.executor) { in EvaluatePreparedModel()
570 const auto ret = preparedModel->executeSynchronously(request, testConfig.measureTiming, in EvaluatePreparedModel()
610 ret = burst->executeSynchronously(request, slots, testConfig.measureTiming, kNoDeadline, in EvaluatePreparedModel()
637 auto ret = preparedModel->executeFenced(request, {}, testConfig.measureTiming, in EvaluatePreparedModel()
651 ret = preparedModel->executeFenced(request, waitFor, testConfig.measureTiming, in EvaluatePreparedModel()
[all …]