• Home
  • Raw
  • Download

Lines Matching defs:model

41                                            const Model& model) {  in validateGetSupportedOperations()
52 const Model& model, ExecutionPreference preference) { in validatePrepareModel()
80 static void validate(const sp<IDevice>& device, const std::string& message, Model model, in validate()
110 static uint32_t addOperand(Model* model) { in addOperand()
123 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
139 static void mutateOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperandTypeTest()
145 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
177 static void mutateOperandRankTest(const sp<IDevice>& device, const Model& model) { in mutateOperandRankTest()
185 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest()
217 static void mutateOperandScaleTest(const sp<IDevice>& device, const Model& model) { in mutateOperandScaleTest()
222 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest()
256 static void mutateOperandZeroPointTest(const sp<IDevice>& device, const Model& model) { in mutateOperandZeroPointTest()
264 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest()
335 static bool mutateOperationOperandTypeSkip(size_t operand, OperandType type, const Model& model) { in mutateOperationOperandTypeSkip()
406 static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOperandTypeTest()
415 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperationOperandTypeTest()
430 static void mutateOperationTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationTypeTest()
436 validate(device, message, model, [operation, invalidOperationType](Model* model) { in mutateOperationTypeTest()
446 static void mutateOperationInputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationInputOperandIndexTest()
453 validate(device, message, model, [operation, input, invalidOperand](Model* model) { in mutateOperationInputOperandIndexTest()
462 static void mutateOperationOutputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOutputOperandIndexTest()
469 validate(device, message, model, [operation, output, invalidOperand](Model* model) { in mutateOperationOutputOperandIndexTest()
490 static void removeOperand(Model* model, uint32_t index) { in removeOperand()
500 static bool removeOperandSkip(size_t operand, const Model& model) { in removeOperandSkip()
525 static void removeOperandTest(const sp<IDevice>& device, const Model& model) { in removeOperandTest()
532 [operand](Model* model) { removeOperand(model, operand); }); in removeOperandTest()
538 static void removeOperation(Model* model, uint32_t index) { in removeOperation()
545 static void removeOperationTest(const sp<IDevice>& device, const Model& model) { in removeOperationTest()
549 [operation](Model* model) { removeOperation(model, operation); }); in removeOperationTest()
620 static void removeOperationInputTest(const sp<IDevice>& device, const Model& model) { in removeOperationInputTest()
630 validate(device, message, model, [operation, input](Model* model) { in removeOperationInputTest()
641 static void removeOperationOutputTest(const sp<IDevice>& device, const Model& model) { in removeOperationOutputTest()
647 validate(device, message, model, [operation, output](Model* model) { in removeOperationOutputTest()
674 static void addOperationInputTest(const sp<IDevice>& device, const Model& model) { in addOperationInputTest()
680 validate(device, message, model, [operation](Model* model) { in addOperationInputTest()
690 static void addOperationOutputTest(const sp<IDevice>& device, const Model& model) { in addOperationOutputTest()
694 validate(device, message, model, [operation](Model* model) { in addOperationOutputTest()
709 static void mutateExecutionPreferenceTest(const sp<IDevice>& device, const Model& model) { in mutateExecutionPreferenceTest()
720 void ValidationTest::validateModel(const Model& model) { in validateModel()