Lines Matching defs:model

44                                            const Model& model) {  in validateGetSupportedOperations()
55 const Model& model, ExecutionPreference preference) { in validatePrepareModel()
83 Model model = originalModel; in validate() local
94 static uint32_t addOperand(Model* model) { in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
118 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize()
146 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy()
235 size_t sizeForBinder(const Model& model) { in sizeForBinder()
277 static void mutateExecutionOrderTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateExecutionOrderTest()
290 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
307 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
327 static void mutateOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperandTypeTest()
334 [operand, invalidOperandType](Model* model, ExecutionPreference*) { in mutateOperandTypeTest()
359 static void mutateOperandRankTest(const sp<IDevice>& device, const Model& model) { in mutateOperandRankTest()
365 [operand, invalidRank](Model* model, ExecutionPreference*) { in mutateOperandRankTest()
389 static void mutateOperandScaleTest(const sp<IDevice>& device, const Model& model) { in mutateOperandScaleTest()
395 [operand, invalidScale](Model* model, ExecutionPreference*) { in mutateOperandScaleTest()
418 static void mutateOperandZeroPointTest(const sp<IDevice>& device, const Model& model) { in mutateOperandZeroPointTest()
427 [operand, invalidZeroPoint](Model* model, ExecutionPreference*) { in mutateOperandZeroPointTest()
436 static std::vector<OperandLifeTime> getInvalidLifeTimes(const Model& model, size_t modelSize, in getInvalidLifeTimes()
482 static void mutateOperandLifeTimeTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperandLifeTimeTest()
493 [operand, invalidLifeTime](Model* model, ExecutionPreference*) { in mutateOperandLifeTimeTest()
531 static std::optional<OperandLifeTime> getInputOutputLifeTime(const Model& model, size_t modelSize, in getInputOutputLifeTime()
568 static void mutateOperandInputOutputTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperandInputOutputTest()
579 [operand, changedLifeTime](Model* model, ExecutionPreference*) { in mutateOperandInputOutputTest()
603 const V1_1::Model& model) { in mutateOperandNumberOfConsumersTest()
612 [operand, invalidNumberOfConsumers](Model* model, ExecutionPreference*) { in mutateOperandNumberOfConsumersTest()
621 static void mutateOperandAddWriterTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperandAddWriterTest()
634 [operation, badOutputNum](Model* model, ExecutionPreference*) { in mutateOperandAddWriterTest()
707 static bool mutateOperationOperandTypeSkip(size_t operand, const Model& model) { in mutateOperationOperandTypeSkip()
721 static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOperandTypeTest()
737 [operand, invalidOperandType](Model* model, ExecutionPreference*) { in mutateOperationOperandTypeTest()
753 static void mutateOperationTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationTypeTest()
760 [operation, invalidOperationType](Model* model, ExecutionPreference*) { in mutateOperationTypeTest()
770 static void mutateOperationInputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationInputOperandIndexTest()
778 [operation, input, invalidOperand](Model* model, ExecutionPreference*) { in mutateOperationInputOperandIndexTest()
787 static void mutateOperationOutputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOutputOperandIndexTest()
795 [operation, output, invalidOperand](Model* model, ExecutionPreference*) { in mutateOperationOutputOperandIndexTest()
804 static void mutateOperationRemoveWriteTest(const sp<IDevice>& device, const V1_1::Model& model) { in mutateOperationRemoveWriteTest()
814 [operation, outputNum](Model* model, ExecutionPreference*) { in mutateOperationRemoveWriteTest()
847 static void removeOperand(Model* model, uint32_t index) { in removeOperand()
857 static void removeOperandTest(const sp<IDevice>& device, const Model& model) { in removeOperandTest()
861 [operand](Model* model, ExecutionPreference*) { removeOperand(model, operand); }); in removeOperandTest()
867 static void removeOperation(Model* model, uint32_t index) { in removeOperation()
874 static void removeOperationTest(const sp<IDevice>& device, const Model& model) { in removeOperationTest()
877 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in removeOperationTest()
885 static void removeOperationInputTest(const sp<IDevice>& device, const Model& model) { in removeOperationInputTest()
900 [operation, input](Model* model, ExecutionPreference*) { in removeOperationInputTest()
911 static void removeOperationOutputTest(const sp<IDevice>& device, const Model& model) { in removeOperationOutputTest()
918 [operation, output](Model* model, ExecutionPreference*) { in removeOperationOutputTest()
933 static void addOperationInputTest(const sp<IDevice>& device, const Model& model) { in addOperationInputTest()
936 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in addOperationInputTest()
946 static void addOperationOutputTest(const sp<IDevice>& device, const Model& model) { in addOperationOutputTest()
950 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in addOperationOutputTest()
965 static void mutateExecutionPreferenceTest(const sp<IDevice>& device, const Model& model) { in mutateExecutionPreferenceTest()
978 void validateModel(const sp<IDevice>& device, const Model& model) { in validateModel()