Home
last modified time | relevance | path

Searched refs:WrapperModel (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp32 using WrapperModel = test_wrapper::Model; typedef
40 static HidlModel createHidlModel(const WrapperModel& wrapperModel) { in createHidlModel()
47 static void testAvailableSinceV1_3(const WrapperModel& wrapperModel) { in testAvailableSinceV1_3()
54 static void testAvailableSinceV1_2(const WrapperModel& wrapperModel) { in testAvailableSinceV1_2()
61 static void testAvailableSinceV1_1(const WrapperModel& wrapperModel) { in testAvailableSinceV1_1()
68 static void testAvailableSinceV1_0(const WrapperModel& wrapperModel) { in testAvailableSinceV1_0()
93 WrapperModel model; in TEST_F()
107 WrapperModel model; in TEST_F()
121 WrapperModel model; in TEST_F()
158 WrapperModel model; in TEST_F()
DTestIntrospectionControl.cpp60 using WrapperModel = nn::test_wrapper::Model; typedef
203 WrapperModel mModel;
206 void createSimpleAddModel(WrapperModel* model) { in createSimpleAddModel()
1140 void createAddMaxModel(WrapperModel* model, bool reverseOrder) { in createAddMaxModel()
1205 void createAddMulModel(WrapperModel* model, bool reverseOrder) { in createAddMulModel()
1251 void createCondModel(WrapperModel* model, bool dynamicRank) { in createCondModel()
1265 void addReluOperation(WrapperModel* model, std::vector<uint32_t>* modelInputIndexes, in addReluOperation()
1279 void createReluModel(WrapperModel* model, bool dynamicRank) { in createReluModel()
1286 void addWhileOperation(std::vector<WrapperModel>* extraModels, WrapperModel* mainModel, in addWhileOperation()
1295 WrapperModel* condModel = &extraModels->at(extraModels->size() - 2); in addWhileOperation()
[all …]
DTestFailingDriver.cpp39 using WrapperModel = test_wrapper::Model; typedef
107 WrapperModel conditionModel; in TEST_F()
118 WrapperModel bodyModel; in TEST_F()
129 WrapperModel model; in TEST_F()
184 WrapperModel model; in TEST_F()
DTestPartitioningRandom.cpp121 using WrapperModel = nn::test_wrapper::Model; typedef
162 class TestModel : public WrapperModel {
168 WrapperModel::addOperation(type, inputs, outputs); in addOperation()
188 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue()
191 WrapperModel::setOperandValue(index, mOperandValues.back().data(), length); in setOperandValue()
199 WrapperModel::setOperandValue(index, value.data(), length); in setOperandValue()
204 WrapperModel::setOperandValue(index, &value, sizeof(value)); in setOperandValue()
226 TestCompilation(const WrapperModel* model) : WrapperCompilation(model) {} in TestCompilation()
228 TestCompilation(const WrapperModel* model, std::vector<std::shared_ptr<Device>> devices) { in TestCompilation()
446 ModelStats(const WrapperModel* model) in ModelStats()
DTestMemory.cpp30 using WrapperModel = ::android::nn::test_wrapper::Model; typedef
59 WrapperModel model; in TEST_F()
122 WrapperModel model; in TEST_F()
DTestMemoryInternal.cpp35 using WrapperModel = ::android::nn::test_wrapper::Model; typedef
116 WrapperModel model; in TEST_F()
184 WrapperModel model; in TEST_F()
DTestExecution.cpp57 using WrapperModel = nn::test_wrapper::Model; typedef
599 TestCompilation(const WrapperModel* model, const std::string& deviceName, in TestCompilation()
623 TestIntrospectionCompilation(const WrapperModel* model, const std::string& deviceName) { in TestIntrospectionCompilation()
705 WrapperModel mModel;
725 static WrapperModel makeModel() { in makeModel()
728 WrapperModel model; in makeModel()
DTestPartitioning.cpp179 using WrapperModel = ::android::nn::test_wrapper::Model; typedef
675 class PartitioningModel : private WrapperModel {
677 using WrapperModel::finish;
678 using WrapperModel::getHandle;
679 using WrapperModel::identifyInputsAndOutputs;
680 using WrapperModel::isValid;
681 using WrapperModel::relaxComputationFloat32toFloat16;
682 using WrapperModel::setOperandValue;
757 return WrapperModel::addOperand(&wrapperOperandType); in addOperand()
909 WrapperModel::setOperandValueFromModel(index, &model); in addRefModelOperand()
[all …]
DTestRemoveDefaultArguments.cpp107 using WrapperModel = test_wrapper::Model; typedef