Lines Matching defs:model

45                                            const Model& model) {  in validateGetSupportedOperations()
56 const Model& model, ExecutionPreference preference, in validatePrepareModel()
90 Model model = originalModel; in validate() local
102 static uint32_t addOperand(Model* model) { in addOperand()
115 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
126 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize()
154 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy()
292 size_t sizeForBinder(const Model& model) { in sizeForBinder()
333 static void mutateExecutionOrderTest(const sp<IDevice>& device, const Model& model) { in mutateExecutionOrderTest()
347 [operation](Model* model, ExecutionPreference*, Priority*) { in mutateExecutionOrderTest()
365 [operation](Model* model, ExecutionPreference*, Priority*) { in mutateExecutionOrderTest()
385 static void mutateOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperandTypeTest()
392 [operand, invalidOperandType](Model* model, ExecutionPreference*, Priority*) { in mutateOperandTypeTest()
425 static void mutateOperandRankTest(const sp<IDevice>& device, const Model& model) { in mutateOperandRankTest()
434 [operand, invalidRank](Model* model, ExecutionPreference*, Priority*) { in mutateOperandRankTest()
468 static void mutateOperandScaleTest(const sp<IDevice>& device, const Model& model) { in mutateOperandScaleTest()
474 [operand, invalidScale](Model* model, ExecutionPreference*, Priority*) { in mutateOperandScaleTest()
509 static void mutateOperandZeroPointTest(const sp<IDevice>& device, const Model& model) { in mutateOperandZeroPointTest()
518 [operand, invalidZeroPoint](Model* model, ExecutionPreference*, Priority*) { in mutateOperandZeroPointTest()
527 static std::vector<OperandLifeTime> getInvalidLifeTimes(const Model& model, size_t modelSize, in getInvalidLifeTimes()
575 static void mutateOperandLifeTimeTest(const sp<IDevice>& device, const Model& model) { in mutateOperandLifeTimeTest()
586 [operand, invalidLifeTime](Model* model, ExecutionPreference*, Priority*) { in mutateOperandLifeTimeTest()
624 static std::optional<OperandLifeTime> getInputOutputLifeTime(const Model& model, size_t modelSize, in getInputOutputLifeTime()
663 static void mutateOperandInputOutputTest(const sp<IDevice>& device, const Model& model) { in mutateOperandInputOutputTest()
674 [operand, changedLifeTime](Model* model, ExecutionPreference*, Priority*) { in mutateOperandInputOutputTest()
697 static void mutateOperandNumberOfConsumersTest(const sp<IDevice>& device, const Model& model) { in mutateOperandNumberOfConsumersTest()
716 static void mutateOperandAddWriterTest(const sp<IDevice>& device, const Model& model) { in mutateOperandAddWriterTest()
730 [operation, badOutputNum](Model* model, ExecutionPreference*, Priority*) { in mutateOperandAddWriterTest()
826 static bool mutateOperationOperandTypeSkip(size_t operand, OperandType type, const Model& model) { in mutateOperationOperandTypeSkip()
933 static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOperandTypeTest()
943 [operand, invalidOperandType](Model* model, ExecutionPreference*, Priority*) { in mutateOperationOperandTypeTest()
958 static void mutateOperationTypeTest(const sp<IDevice>& device, const Model& model) { in mutateOperationTypeTest()
976 static void mutateOperationInputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationInputOperandIndexTest()
984 [operation, input, invalidOperand](Model* model, ExecutionPreference*, in mutateOperationInputOperandIndexTest()
994 static void mutateOperationOutputOperandIndexTest(const sp<IDevice>& device, const Model& model) { in mutateOperationOutputOperandIndexTest()
1003 [operation, output, invalidOperand](Model* model, ExecutionPreference*, in mutateOperationOutputOperandIndexTest()
1013 static void mutateOperationRemoveWriteTest(const sp<IDevice>& device, const Model& model) { in mutateOperationRemoveWriteTest()
1023 [operation, outputNum](Model* model, ExecutionPreference*, Priority*) { in mutateOperationRemoveWriteTest()
1056 static void removeOperand(Model* model, uint32_t index) { in removeOperand()
1066 static bool removeOperandSkip(size_t operandIndex, const Model& model) { in removeOperandSkip()
1102 static void removeOperandTest(const sp<IDevice>& device, const Model& model) { in removeOperandTest()
1108 validate(device, message, model, [operand](Model* model, ExecutionPreference*, Priority*) { in removeOperandTest()
1116 static void removeOperation(Model* model, uint32_t index) { in removeOperation()
1123 static void removeOperationTest(const sp<IDevice>& device, const Model& model) { in removeOperationTest()
1127 [operation](Model* model, ExecutionPreference*, Priority*) { in removeOperationTest()
1207 static void removeOperationInputTest(const sp<IDevice>& device, const Model& model) { in removeOperationInputTest()
1218 [operation, input](Model* model, ExecutionPreference*, Priority*) { in removeOperationInputTest()
1229 static void removeOperationOutputTest(const sp<IDevice>& device, const Model& model) { in removeOperationOutputTest()
1237 [operation, output](Model* model, ExecutionPreference*, Priority*) { in removeOperationOutputTest()
1266 static void addOperationInputTest(const sp<IDevice>& device, const Model& model) { in addOperationInputTest()
1273 [operation](Model* model, ExecutionPreference*, Priority*) { in addOperationInputTest()
1283 static void addOperationOutputTest(const sp<IDevice>& device, const Model& model) { in addOperationOutputTest()
1288 [operation](Model* model, ExecutionPreference*, Priority*) { in addOperationOutputTest()
1303 static void mutateExecutionPreferenceTest(const sp<IDevice>& device, const Model& model) { in mutateExecutionPreferenceTest()
1321 static void mutateExecutionPriorityTest(const sp<IDevice>& device, const Model& model) { in mutateExecutionPriorityTest()
1334 void validateModel(const sp<IDevice>& device, const Model& model) { in validateModel()