Home
last modified time | relevance | path

Searched refs:outputShapes (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCallbacks.cpp92 const hidl_vec<OutputShape>& outputShapes, in notify_1_2() argument
94 return notifyInternal(static_cast<ErrorStatus>(errorStatus), outputShapes, timing); in notify_1_2()
98 const hidl_vec<OutputShape>& outputShapes, in notify_1_3() argument
100 return notifyInternal(errorStatus, outputShapes, timing); in notify_1_3()
124 hidl_vec<OutputShape> outputShapes, Timing timing) { in notifyInternal() argument
128 if (outputShapes.size() == 0) { in notifyInternal()
131 outputShapes = {}; in notifyInternal()
136 if (outputShapes.size() != 0) { in notifyInternal()
140 outputShapes = {}; in notifyInternal()
155 mOutputShapes = std::move(outputShapes); in notifyInternal()
DValidateRequest.cpp75 const auto& outputShapes = executionCallback->getOutputShapes(); in validate() local
78 ASSERT_EQ(outputShapes.size(), 0); in validate()
88 [](ErrorStatus error, const hidl_vec<OutputShape>& outputShapes, in validate()
91 EXPECT_EQ(outputShapes.size(), 0); in validate()
118 const auto [n, outputShapes, timing, fallback] = burst->compute(request10, measure, keys); in validate()
121 EXPECT_EQ(outputShapes.size(), 0); in validate()
184 [](ErrorStatus error, const hidl_vec<OutputShape>& outputShapes, const Timing& timing) { in validateRequestFailure() argument
186 EXPECT_EQ(outputShapes.size(), 0); in validateRequestFailure()
DQualityOfServiceTests.cpp186 hidl_vec<OutputShape> outputShapes = callback->getOutputShapes(); in executeAsynchronously() local
190 return Results{status, std::move(outputShapes), timing}; in executeAsynchronously()
201 const auto cb = [&results](ErrorStatus status, const hidl_vec<OutputShape>& outputShapes, in executeSynchronously()
203 results.emplace(status, outputShapes, timing); in executeSynchronously()
225 const auto& [status, outputShapes, timing] = results.value(); in runExecutionTest()
251 ASSERT_TRUE(outputShapes.size() == 0 || in runExecutionTest()
252 outputShapes.size() == testModel.main.outputIndexes.size()); in runExecutionTest()
255 for (uint32_t i = 0; i < outputShapes.size(); i++) { in runExecutionTest()
256 EXPECT_TRUE(outputShapes[i].isSufficient); in runExecutionTest()
258 const std::vector<uint32_t> actual = outputShapes[i].dimensions; in runExecutionTest()
DGeneratedTestHarness.cpp529 hidl_vec<OutputShape>* outputShapes, in ExecutePreparedModel() argument
534 [&result, outputShapes, timing](ErrorStatus error, const hidl_vec<OutputShape>& shapes, in ExecutePreparedModel()
537 *outputShapes = shapes; in ExecutePreparedModel()
589 hidl_vec<OutputShape> outputShapes; in EvaluatePreparedModel() local
606 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel()
617 loopTimeoutDuration, &outputShapes, &timing); in EvaluatePreparedModel()
645 std::tie(n, outputShapes, timing, std::ignore) = in EvaluatePreparedModel()
728 ASSERT_TRUE(outputShapes.size() == 0 || in EvaluatePreparedModel()
729 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
740 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
[all …]
DValidateBurst.cpp147 const auto [status, outputShapes, timing] = std::move(*results); in validate()
149 EXPECT_EQ(0u, outputShapes.size()); in validate()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCallbacks.cpp82 const hidl_vec<OutputShape>& outputShapes, in notify_1_2() argument
86 if (outputShapes.size() == 0) { in notify_1_2()
93 if (outputShapes.size() != 0) { in notify_1_2()
100 notifyInternal(errorStatus, outputShapes, timing); in notify_1_2()
125 const hidl_vec<OutputShape>& outputShapes, in notifyInternal() argument
136 mOutputShapes = outputShapes; in notifyInternal()
DValidateRequest.cpp71 const auto& outputShapes = executionCallback->getOutputShapes(); in validate() local
74 ASSERT_EQ(outputShapes.size(), 0); in validate()
84 [](ErrorStatus error, const hidl_vec<OutputShape>& outputShapes, in validate()
87 EXPECT_EQ(outputShapes.size(), 0); in validate()
110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate()
113 EXPECT_EQ(outputShapes.size(), 0); in validate()
162 [](ErrorStatus error, const hidl_vec<OutputShape>& outputShapes, const Timing& timing) { in validateRequestFailure() argument
164 EXPECT_EQ(outputShapes.size(), 0); in validateRequestFailure()
DGeneratedTestHarness.cpp190 hidl_vec<OutputShape>* outputShapes, in ExecutePreparedModel() argument
195 [&result, outputShapes, timing](ErrorStatus error, const hidl_vec<OutputShape>& shapes, in ExecutePreparedModel()
198 *outputShapes = shapes; in ExecutePreparedModel()
227 hidl_vec<OutputShape> outputShapes; in EvaluatePreparedModel() local
243 outputShapes = executionCallback->getOutputShapes(); in EvaluatePreparedModel()
253 preparedModel, request, testConfig.measureTiming, &outputShapes, &timing); in EvaluatePreparedModel()
275 std::tie(n, outputShapes, timing, std::ignore) = in EvaluatePreparedModel()
306 ASSERT_TRUE(outputShapes.size() == 0 || in EvaluatePreparedModel()
307 outputShapes.size() == testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
313 ASSERT_EQ(outputShapes.size(), testModel.main.outputIndexes.size()); in EvaluatePreparedModel()
[all …]
DValidateBurst.cpp141 const auto [status, outputShapes, timing] = std::move(*results); in validate()
143 EXPECT_EQ(0u, outputShapes.size()); in validate()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/include/1.2/
DCallbacks.h232 Return<void> notify_1_2(V1_0::ErrorStatus status, const hidl_vec<OutputShape>& outputShapes,
236 Return<void> notify(V1_0::ErrorStatus status, const hidl_vec<OutputShape>& outputShapes, in notify() argument
238 return notify_1_2(status, outputShapes, timing); in notify()
311 void notifyInternal(V1_0::ErrorStatus errorStatus, const hidl_vec<OutputShape>& outputShapes,
/hardware/interfaces/neuralnetworks/1.3/vts/functional/include/1.3/
DCallbacks.h263 const hidl_vec<V1_2::OutputShape>& outputShapes,
301 const hidl_vec<V1_2::OutputShape>& outputShapes,
378 hidl_vec<V1_2::OutputShape> outputShapes, V1_2::Timing timing);
/hardware/interfaces/neuralnetworks/1.2/
DIExecutionCallback.hal47 * @param outputShapes A list of shape information of model output operands.
48 * The index into "outputShapes" corresponds with to index
50 * outputShapes must be empty unless the status is either
58 oneway notify_1_2(ErrorStatus status, vec<OutputShape> outputShapes, Timing timing);
DIPreparedModel.hal135 * @return outputShapes A list of shape information of model output operands.
136 * The index into "outputShapes" corresponds to the index
138 * outputShapes must be empty unless the status is either
146 generates (ErrorStatus status, vec<OutputShape> outputShapes, Timing timing);
196 * outputShapes, and an indication that timing
/hardware/interfaces/neuralnetworks/1.3/
DIExecutionCallback.hal53 * @param outputShapes A list of shape information of model output operands.
54 * The index into "outputShapes" corresponds with to index
56 * outputShapes must be empty unless the status is either
64 oneway notify_1_3(ErrorStatus status, vec<OutputShape> outputShapes, Timing timing);
DIPreparedModel.hal189 * @return outputShapes A list of shape information of model output operands.
190 * The index into "outputShapes" corresponds to the index
192 * outputShapes must be empty unless the status is either
202 generates (ErrorStatus status, vec<OutputShape> outputShapes,