Home
last modified time | relevance | path

Searched refs:getPreparedModel (Results 1 – 25 of 27) sorted by relevance

12

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientPreparedModel.cpp43 -> decltype(fn(*resilientPreparedModel.getPreparedModel())) { in protect()
44 auto preparedModel = resilientPreparedModel.getPreparedModel(); in protect()
88 nn::SharedPreparedModel ResilientPreparedModel::getPreparedModel() const { in getPreparedModel() function in android::hardware::neuralnetworks::utils::ResilientPreparedModel
174 return getPreparedModel()->getUnderlyingResource(); in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCallbacks.h119 std::shared_ptr<IPreparedModel> getPreparedModel() const;
DCallbacks.cpp54 std::shared_ptr<IPreparedModel> PreparedModelCallback::getPreparedModel() const { in getPreparedModel() function in aidl::android::hardware::neuralnetworks::implementation::PreparedModelCallback
DBasicTests.cpp190 EXPECT_EQ(preparedModelCallback->getPreparedModel(), nullptr); in TEST_P()
DVtsHalNeuralnetworks.cpp67 *preparedModel = preparedModelCallback->getPreparedModel(); in createPreparedModel()
DQualityOfServiceTests.cpp107 const std::shared_ptr<IPreparedModel> preparedModel = preparedModelCallback->getPreparedModel(); in runPrepareModelTest()
DCompilationCachingTests.cpp335 *preparedModel = preparedModelCallback->getPreparedModel(); in saveModelToCache()
409 *preparedModel = preparedModelCallback->getPreparedModel(); in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DCallbacks.h118 sp<IPreparedModel> getPreparedModel() const;
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DCallbacks.cpp57 sp<IPreparedModel> PreparedModelCallback::getPreparedModel() const { in getPreparedModel() function in android::hardware::neuralnetworks::V1_0::implementation::PreparedModelCallback
DBasicTests.cpp179 EXPECT_EQ(preparedModelCallback->getPreparedModel(), nullptr); in TEST_P()
DVtsHalNeuralnetworks.cpp59 *preparedModel = preparedModelCallback->getPreparedModel(); in createPreparedModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/include/1.2/
DCallbacks.h148 sp<V1_0::IPreparedModel> getPreparedModel() const;
/hardware/interfaces/neuralnetworks/1.3/vts/functional/include/1.3/
DCallbacks.h176 sp<V1_0::IPreparedModel> getPreparedModel() const;
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientPreparedModel.h46 nn::SharedPreparedModel getPreparedModel() const;
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCallbacks.cpp69 sp<V1_0::IPreparedModel> PreparedModelCallback::getPreparedModel() const { in getPreparedModel() function in android::hardware::neuralnetworks::V1_2::implementation::PreparedModelCallback
DVtsHalNeuralnetworks.cpp175 sp<V1_0::IPreparedModel> preparedModelV1_0 = callback->getPreparedModel(); in getPreparedModel_1_2()
DBasicTests.cpp262 EXPECT_EQ(preparedModelCallback->getPreparedModel(), nullptr); in TEST_P()
DCompilationCachingTests.cpp336 *preparedModel = IPreparedModel::castFrom(preparedModelCallback->getPreparedModel()) in saveModelToCache()
383 *preparedModel = IPreparedModel::castFrom(preparedModelCallback->getPreparedModel()) in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCallbacks.cpp80 sp<V1_0::IPreparedModel> PreparedModelCallback::getPreparedModel() const { in getPreparedModel() function in android::hardware::neuralnetworks::V1_3::implementation::PreparedModelCallback
DBasicTests.cpp207 EXPECT_EQ(preparedModelCallback->getPreparedModel(), nullptr); in TEST_P()
DVtsHalNeuralnetworks.cpp199 sp<V1_0::IPreparedModel> preparedModelV1_0 = callback->getPreparedModel(); in getPreparedModel_1_3()
DQualityOfServiceTests.cpp115 const sp<V1_0::IPreparedModel> preparedModelV1_0 = preparedModelCallback->getPreparedModel(); in runPrepareModelTest()
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientPreparedModelTest.cpp93 TEST(ResilientPreparedModelTest, getPreparedModel) { in TEST() argument
98 const auto result = preparedModel->getPreparedModel(); in TEST()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp187 EXPECT_EQ(preparedModelCallback->getPreparedModel(), nullptr); in TEST_P()
DVtsHalNeuralnetworks.cpp62 *preparedModel = preparedModelCallback->getPreparedModel(); in createPreparedModel()

12