Searched refs:WrapperModel (Results 1 – 7 of 7) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestCompliance.cpp | 29 using WrapperModel = test_wrapper::Model; typedef 34 static HidlModel createHidlModel(std::function<void(WrapperModel*)> createModel) { in createHidlModel() 36 WrapperModel wrapperModel; in createHidlModel() 44 void ComplianceTest::testAvailableSinceV1_2(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_2() 50 void ComplianceTest::testAvailableSinceV1_1(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_1() 56 void ComplianceTest::testAvailableSinceV1_0(std::function<void(WrapperModel*)> createModel) { in testAvailableSinceV1_0() 69 testAvailableSinceV1_2([&act_init](WrapperModel* model) { in TEST_F() 84 testAvailableSinceV1_2([&act_init](WrapperModel* model) { in TEST_F() 99 testAvailableSinceV1_2([&act_init](WrapperModel* model) { in TEST_F() 132 testAvailableSinceV1_2([&memory, &act_init](WrapperModel* model) { in TEST_F()
|
D | TestMemory.cpp | 29 using WrapperModel = ::android::nn::test_wrapper::Model; typedef 59 WrapperModel model; in TEST_F() 117 WrapperModel model; in TEST_F()
|
D | TestExecution.cpp | 47 using WrapperModel = nn::test_wrapper::Model; typedef 317 TestCompilation(const WrapperModel* model, const std::string& deviceName, in TestCompilation() 341 TestIntrospectionCompilation(const WrapperModel* model, const std::string& deviceName) { in TestIntrospectionCompilation() 415 WrapperModel mModel; 433 static WrapperModel makeModel() { in makeModel() 436 WrapperModel model; in makeModel()
|
D | TestPartitioningRandom.cpp | 107 using WrapperModel = nn::test_wrapper::Model; typedef 148 class TestModel : public WrapperModel { 155 WrapperModel::addOperation(type, inputs, outputs); in addOperation() 181 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue() 184 WrapperModel::setOperandValue(index, mOperandValues.back().data(), length); in setOperandValue() 192 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue() 197 WrapperModel::setOperandValue(index, &value, sizeof(value)); in setOperandValue() 220 TestCompilation(const WrapperModel* model) : WrapperCompilation(model) {} in TestCompilation() 222 TestCompilation(const WrapperModel* model, std::vector<std::shared_ptr<Device>> devices) { in TestCompilation() 445 ModelStats(const WrapperModel* model) : in ModelStats()
|
D | TestMemoryInternal.cpp | 36 using WrapperModel = ::android::nn::test_wrapper::Model; typedef 117 WrapperModel model; in TEST_F() 232 WrapperModel model; in TEST_F()
|
D | TestPartitioning.cpp | 150 using WrapperModel = ::android::nn::test_wrapper::Model; typedef 474 class PartitioningModel : private WrapperModel { 476 using WrapperModel::finish; 477 using WrapperModel::getHandle; 478 using WrapperModel::identifyInputsAndOutputs; 479 using WrapperModel::isValid; 480 using WrapperModel::relaxComputationFloat32toFloat16; 499 return WrapperModel::addOperand(&wrapperOperandType); in addOperand() 508 return WrapperModel::addOperand(&wrapperOperandType); in addOperand() 518 return WrapperModel::addOperand(&wrapperOperandType); in addOperand() [all …]
|
D | TestIntrospectionControl.cpp | 50 using WrapperModel = nn::test_wrapper::Model; typedef 183 WrapperModel mModel; 186 void createSimpleAddModel(WrapperModel* model) { in createSimpleAddModel() 724 void createAddMulModel(WrapperModel* model, bool reverseOrder) { in createAddMulModel()
|