Home
last modified time | relevance | path

Searched refs:PreparedModel (Results 1 – 25 of 31) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DPreparedModel.cpp49 nn::GeneralResult<std::shared_ptr<const PreparedModel>> PreparedModel::create( in create()
56 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, executeSynchronously, in create()
60 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, bool executeSynchronously, in PreparedModel() function in android::hardware::neuralnetworks::V1_2::utils::PreparedModel
68 PreparedModel::executeSynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeSynchronously()
78 PreparedModel::executeAsynchronously(const V1_0::Request& request, MeasureTiming measure) const { in executeAsynchronously()
91 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> PreparedModel::execute( in execute()
111 PreparedModel::executeInternal(const V1_0::Request& request, MeasureTiming measure, in executeInternal()
128 PreparedModel::executeFenced( in executeFenced()
139 nn::GeneralResult<nn::SharedExecution> PreparedModel::createReusableExecution( in createReusableExecution()
157 nn::GeneralResult<nn::SharedBurst> PreparedModel::configureExecutionBurst() const { in configureExecutionBurst()
[all …]
DExecution.cpp43 std::shared_ptr<const PreparedModel> preparedModel, V1_0::Request request, in create()
54 std::shared_ptr<const PreparedModel> preparedModel, V1_0::Request request, in Execution()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DPreparedModel.cpp44 nn::GeneralResult<std::shared_ptr<const PreparedModel>> PreparedModel::create( in create()
51 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, std::move(preparedModel), in create()
55 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, sp<V1_0::IPreparedModel> preparedModel, in PreparedModel() function in android::hardware::neuralnetworks::V1_0::utils::PreparedModel
59 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> PreparedModel::execute( in execute()
78 PreparedModel::executeInternal(const V1_0::Request& request, in executeInternal()
99 PreparedModel::executeFenced( in executeFenced()
110 nn::GeneralResult<nn::SharedExecution> PreparedModel::createReusableExecution( in createReusableExecution()
126 nn::GeneralResult<nn::SharedBurst> PreparedModel::configureExecutionBurst() const { in configureExecutionBurst()
130 std::any PreparedModel::getUnderlyingResource() const { in getUnderlyingResource()
DExecution.cpp43 std::shared_ptr<const PreparedModel> preparedModel, Request request, in create()
54 std::shared_ptr<const PreparedModel> preparedModel, Request request, in Execution()
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DPreparedModelTest.cpp64 const auto result = PreparedModel::create(kInvalidPreparedModel); in TEST()
78 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
93 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
108 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
118 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
134 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
151 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
168 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
184 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
200 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DPreparedModelTest.cpp96 const auto result = PreparedModel::create(kInvalidPreparedModel, /*executeSynchronously=*/true); in TEST()
110 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
125 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
140 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
151 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
168 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
186 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
203 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
220 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/false).value(); in TEST()
238 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/false).value(); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp88 nn::GeneralResult<std::shared_ptr<const PreparedModel>> PreparedModel::create( in create()
95 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, executeSynchronously, in create()
99 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, bool executeSynchronously, in PreparedModel() function in android::hardware::neuralnetworks::V1_3::utils::PreparedModel
107 PreparedModel::executeSynchronously(const Request& request, V1_2::MeasureTiming measure, in executeSynchronously()
120 PreparedModel::executeAsynchronously(const Request& request, V1_2::MeasureTiming measure, in executeAsynchronously()
136 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> PreparedModel::execute( in execute()
158 PreparedModel::executeInternal(const Request& request, V1_2::MeasureTiming measure, in executeInternal()
178 PreparedModel::executeFenced( in executeFenced()
205 PreparedModel::executeFencedInternal(const Request& request, const hidl_vec<hidl_handle>& waitFor, in executeFencedInternal()
235 nn::GeneralResult<nn::SharedExecution> PreparedModel::createReusableExecution( in createReusableExecution()
[all …]
DExecution.cpp43 std::shared_ptr<const PreparedModel> preparedModel, Request request, in create()
56 std::shared_ptr<const PreparedModel> preparedModel, Request request, in Execution()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DPreparedModelTest.cpp124 const auto result = PreparedModel::create(kInvalidPreparedModel, /*executeSynchronously=*/true); in TEST()
138 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
153 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
168 const auto result = PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true); in TEST()
179 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
196 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
214 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
231 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/true).value(); in TEST()
248 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/false).value(); in TEST()
266 PreparedModel::create(mockPreparedModel, /*executeSynchronously=*/false).value(); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DPreparedModelTest.cpp92 const auto result = PreparedModel::create(kInvalidPreparedModel, kVersion); in TEST_P()
104 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
128 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
146 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
164 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
182 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
213 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
245 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
263 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
281 const auto preparedModel = PreparedModel::create(mockPreparedModel, kVersion).value(); in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DPreparedModel.h39 class PreparedModel final : public nn::IPreparedModel,
40 public std::enable_shared_from_this<PreparedModel> {
44 static nn::GeneralResult<std::shared_ptr<const PreparedModel>> create(
47 PreparedModel(PrivateConstructorTag tag, sp<V1_0::IPreparedModel> preparedModel,
DExecution.h43 std::shared_ptr<const PreparedModel> preparedModel, Request request,
46 Execution(PrivateConstructorTag tag, std::shared_ptr<const PreparedModel> preparedModel,
57 const std::shared_ptr<const PreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DPreparedModel.cpp113 nn::GeneralResult<std::shared_ptr<const PreparedModel>> PreparedModel::create( in create()
120 return std::make_shared<const PreparedModel>(PrivateConstructorTag{}, std::move(preparedModel), in create()
124 PreparedModel::PreparedModel(PrivateConstructorTag /*tag*/, in PreparedModel() function in aidl::android::hardware::neuralnetworks::utils::PreparedModel
129 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> PreparedModel::execute( in execute()
150 PreparedModel::executeInternal(const Request& request, bool measure, int64_t deadline, in executeInternal()
178 PreparedModel::executeFenced( in executeFenced()
204 PreparedModel::executeFencedInternal( in executeFencedInternal()
233 nn::GeneralResult<nn::SharedExecution> PreparedModel::createReusableExecution( in createReusableExecution()
268 nn::GeneralResult<nn::SharedBurst> PreparedModel::configureExecutionBurst() const { in configureExecutionBurst()
275 std::any PreparedModel::getUnderlyingResource() const { in getUnderlyingResource()
DExecution.cpp39 ExecutionWithCachedRequest::create(std::shared_ptr<const PreparedModel> preparedModel, in create()
53 PrivateConstructorTag /*tag*/, std::shared_ptr<const PreparedModel> preparedModel, in ExecutionWithCachedRequest()
DCallbacks.cpp44 return NN_TRY(PreparedModel::create(preparedModel, featureLevel)); in prepareModelCallback()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DExecution.h41 std::shared_ptr<const PreparedModel> preparedModel, Request request,
45 Execution(PrivateConstructorTag tag, std::shared_ptr<const PreparedModel> preparedModel,
57 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h38 class PreparedModel final : public nn::IPreparedModel,
39 public std::enable_shared_from_this<PreparedModel> {
43 static nn::GeneralResult<std::shared_ptr<const PreparedModel>> create(
46 PreparedModel(PrivateConstructorTag tag, bool executeSynchronously,
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecution.h43 std::shared_ptr<const PreparedModel> preparedModel, V1_0::Request request,
46 Execution(PrivateConstructorTag tag, std::shared_ptr<const PreparedModel> preparedModel,
58 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h39 class PreparedModel final : public nn::IPreparedModel,
40 public std::enable_shared_from_this<PreparedModel> {
44 static nn::GeneralResult<std::shared_ptr<const PreparedModel>> create(
47 PreparedModel(PrivateConstructorTag tag, bool executeSynchronously,
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DPreparedModel.h38 class PreparedModel final : public nn::IPreparedModel,
39 public std::enable_shared_from_this<PreparedModel> {
44 static nn::GeneralResult<std::shared_ptr<const PreparedModel>> create(
47 PreparedModel(PrivateConstructorTag tag,
DExecution.h47 std::shared_ptr<const PreparedModel> preparedModel, Request request,
51 std::shared_ptr<const PreparedModel> preparedModel, Request request,
63 const std::shared_ptr<const PreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DPreparedModel.cpp283 PreparedModel::PreparedModel(nn::SharedPreparedModel preparedModel) in PreparedModel() function in android::hardware::neuralnetworks::adapter::PreparedModel
288 nn::SharedPreparedModel PreparedModel::getUnderlyingPreparedModel() const { in getUnderlyingPreparedModel()
292 Return<V1_0::ErrorStatus> PreparedModel::execute(const V1_0::Request& request, in execute()
304 Return<V1_0::ErrorStatus> PreparedModel::execute_1_2(const V1_0::Request& request, in execute_1_2()
317 Return<V1_3::ErrorStatus> PreparedModel::execute_1_3( in execute_1_3()
333 Return<void> PreparedModel::executeSynchronously(const V1_0::Request& request, in executeSynchronously()
350 Return<void> PreparedModel::executeSynchronously_1_3( in executeSynchronously_1_3()
369 Return<void> PreparedModel::configureExecutionBurst( in configureExecutionBurst()
388 Return<void> PreparedModel::executeFenced(const V1_3::Request& request, in executeFenced()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DPreparedModel.h41 class PreparedModel : public BnPreparedModel {
43 explicit PreparedModel(::android::nn::SharedPreparedModel preparedModel);
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DPreparedModel.cpp237 PreparedModel::PreparedModel(nn::SharedPreparedModel preparedModel) in PreparedModel() function in aidl::android::hardware::neuralnetworks::adapter::PreparedModel
242 ndk::ScopedAStatus PreparedModel::executeSynchronously(const Request& request, bool measureTiming, in executeSynchronously()
258 ndk::ScopedAStatus PreparedModel::executeFenced( in executeFenced()
274 ndk::ScopedAStatus PreparedModel::executeSynchronouslyWithConfig(const Request& request, in executeSynchronouslyWithConfig()
291 ndk::ScopedAStatus PreparedModel::executeFencedWithConfig( in executeFencedWithConfig()
308 ndk::ScopedAStatus PreparedModel::configureExecutionBurst(std::shared_ptr<IBurst>* burst) { in configureExecutionBurst()
320 nn::SharedPreparedModel PreparedModel::getUnderlyingPreparedModel() const { in getUnderlyingPreparedModel()
324 ndk::ScopedAStatus PreparedModel::createReusableExecution(const Request& request, in createReusableExecution()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DPreparedModel.h40 class PreparedModel final : public V1_3::IPreparedModel {
42 explicit PreparedModel(nn::SharedPreparedModel preparedModel);

12