/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateRequest.cpp | 44 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local 45 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate() 49 executionCallback->wait(); in validate() 50 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
|
D | GeneratedTestHarness.cpp | 146 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in Execute() local 147 Return<ErrorStatus> executionLaunchStatus = preparedModel->execute(request, executionCallback); in Execute() 152 executionCallback->wait(); in Execute() 153 ASSERT_EQ(ErrorStatus::NONE, executionCallback->getStatus()); in Execute()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateRequest.cpp | 63 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local 65 preparedModel->execute_1_2(request, measure, executionCallback); in validate() 69 executionCallback->wait(); in validate() 70 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate() 71 const auto& outputShapes = executionCallback->getOutputShapes(); in validate() 72 Timing timing = executionCallback->getTiming(); in validate()
|
D | GeneratedTestHarness.cpp | 234 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in EvaluatePreparedModel() local 236 preparedModel, request, testConfig.measureTiming, executionCallback); in EvaluatePreparedModel() 241 executionCallback->wait(); in EvaluatePreparedModel() 242 executionStatus = executionCallback->getStatus(); in EvaluatePreparedModel() 243 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel() 244 timing = executionCallback->getTiming(); in EvaluatePreparedModel()
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateRequest.cpp | 40 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local 41 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate() 45 executionCallback->wait(); in validate() 46 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate()
|
D | GeneratedTestHarness.cpp | 138 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in Execute() local 139 Return<ErrorStatus> executionLaunchStatus = preparedModel->execute(request, executionCallback); in Execute() 144 executionCallback->wait(); in Execute() 145 ASSERT_EQ(ErrorStatus::NONE, executionCallback->getStatus()); in Execute()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateRequest.cpp | 67 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in validate() local 69 preparedModel->execute_1_3(request, measure, {}, {}, executionCallback); in validate() 73 executionCallback->wait(); in validate() 74 ErrorStatus executionReturnStatus = executionCallback->getStatus(); in validate() 75 const auto& outputShapes = executionCallback->getOutputShapes(); in validate() 76 Timing timing = executionCallback->getTiming(); in validate()
|
D | GeneratedTestHarness.cpp | 596 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in EvaluatePreparedModel() local 599 loopTimeoutDuration, executionCallback); in EvaluatePreparedModel() 604 executionCallback->wait(); in EvaluatePreparedModel() 605 executionStatus = executionCallback->getStatus(); in EvaluatePreparedModel() 606 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel() 607 timing = executionCallback->getTiming(); in EvaluatePreparedModel()
|
D | MemoryDomainTests.cpp | 883 sp<ExecutionCallback> executionCallback = new ExecutionCallback(); in executeAsync() local 885 preparedModel->execute_1_3(request, MeasureTiming::NO, {}, {}, executionCallback); in executeAsync() 890 executionCallback->wait(); in executeAsync() 892 executionStatus = executionCallback->getStatus(); in executeAsync() 894 EXPECT_EQ(executionStatus, executionCallback->getStatus()); in executeAsync() 896 const auto timing = executionCallback->getTiming(); in executeAsync() 900 EXPECT_EQ(executionCallback->getOutputShapes().size(), 0); in executeAsync()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Callbacks.cpp | 84 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function 126 mData.put(V1_0::utils::executionCallback(status)); in notify() 133 mData.put(V1_2::utils::executionCallback(status, outputShapes, timing)); in notify_1_2() 140 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_3()
|
D | PreparedModel.cpp | 110 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Callbacks.cpp | 69 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function 104 mData.put(V1_0::utils::executionCallback(status)); in notify() 111 mData.put(executionCallback(status, outputShapes, timing)); in notify_1_2()
|
D | PreparedModel.cpp | 69 auto cb = hal::utils::CallbackValue(executionCallback); in executeSynchronously()
|
D | Burst.cpp | 431 return executionCallback(status, outputShapes, timing); in executeInternal()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Callbacks.cpp | 53 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback( in executionCallback() function 76 mData.put(executionCallback(status)); in notify()
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Callbacks.h | 52 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Callbacks.h | 49 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Callbacks.h | 58 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> executionCallback(
|