Lines Matching defs:model

46                                            const std::string& message, const Model& model) {  in validateGetSupportedOperations()
59 const Model& model, ExecutionPreference preference, in validatePrepareModel()
81 const std::string& message, const Model& model, in validatePrepareModelWithConfig()
118 Model model = utils::clone(originalModel).value(); in validate() local
137 static uint32_t addOperand(Model* model) { in addOperand()
149 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
159 static size_t constantCopyExtraSize(const Model& model, size_t operandSize) { in constantCopyExtraSize()
187 static void becomeConstantCopy(Model* model, Operand* operand) { in becomeConstantCopy()
328 size_t sizeForBinder(const Model& model) { in sizeForBinder()
369 static void mutateExecutionOrderTest(const std::shared_ptr<IDevice>& device, const Model& model, in mutateExecutionOrderTest()
384 [operation](Model* model, ExecutionPreference*, Priority*) { in mutateExecutionOrderTest()
402 [operation](Model* model, ExecutionPreference*, Priority*) { in mutateExecutionOrderTest()
420 static void mutateOperandTypeTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandTypeTest()
427 [operand, invalidOperandType](Model* model, ExecutionPreference*, Priority*) { in mutateOperandTypeTest()
460 static void mutateOperandRankTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandRankTest()
469 [operand, invalidRank](Model* model, ExecutionPreference*, Priority*) { in mutateOperandRankTest()
503 static void mutateOperandScaleTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandScaleTest()
509 [operand, invalidScale](Model* model, ExecutionPreference*, Priority*) { in mutateOperandScaleTest()
544 static void mutateOperandZeroPointTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandZeroPointTest()
553 [operand, invalidZeroPoint](Model* model, ExecutionPreference*, Priority*) { in mutateOperandZeroPointTest()
562 static std::vector<OperandLifeTime> getInvalidLifeTimes(const Model& model, size_t modelSize, in getInvalidLifeTimes()
610 static void mutateOperandLifeTimeTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandLifeTimeTest()
621 [operand, invalidLifeTime](Model* model, ExecutionPreference*, Priority*) { in mutateOperandLifeTimeTest()
663 static std::optional<OperandLifeTime> getInputOutputLifeTime(const Model& model, size_t modelSize, in getInputOutputLifeTime()
703 const Model& model) { in mutateOperandInputOutputTest()
714 [operand, changedLifeTime](Model* model, ExecutionPreference*, Priority*) { in mutateOperandInputOutputTest()
729 static void mutateOperandAddWriterTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperandAddWriterTest()
743 [operation, badOutputNum](Model* model, ExecutionPreference*, Priority*) { in mutateOperandAddWriterTest()
834 static bool mutateOperationOperandTypeSkip(size_t operand, OperandType type, const Model& model) { in mutateOperationOperandTypeSkip()
940 const Model& model) { in mutateOperationOperandTypeTest()
950 [operand, invalidOperandType](Model* model, ExecutionPreference*, Priority*) { in mutateOperationOperandTypeTest()
964 static void mutateOperationTypeTest(const std::shared_ptr<IDevice>& device, const Model& model) { in mutateOperationTypeTest()
983 const Model& model) { in mutateOperationInputOperandIndexTest()
991 [operation, input, invalidOperand](Model* model, ExecutionPreference*, in mutateOperationInputOperandIndexTest()
1002 const Model& model) { in mutateOperationOutputOperandIndexTest()
1011 [operation, output, invalidOperand](Model* model, ExecutionPreference*, in mutateOperationOutputOperandIndexTest()
1022 const Model& model, in mutateOperationRemoveWriteTest()
1033 [operation, outputNum](Model* model, ExecutionPreference*, Priority*) { in mutateOperationRemoveWriteTest()
1064 static void removeOperand(Model* model, uint32_t index) { in removeOperand()
1074 static bool removeOperandSkip(size_t operandIndex, const Model& model, in removeOperandSkip()
1110 static void removeOperandTest(const std::shared_ptr<IDevice>& device, const Model& model, in removeOperandTest()
1117 validate(device, message, model, [operand](Model* model, ExecutionPreference*, Priority*) { in removeOperandTest()
1125 static void removeOperation(Model* model, uint32_t index) { in removeOperation()
1130 static void removeOperationTest(const std::shared_ptr<IDevice>& device, const Model& model) { in removeOperationTest()
1134 [operation](Model* model, ExecutionPreference*, Priority*) { in removeOperationTest()
1220 static void removeOperationInputTest(const std::shared_ptr<IDevice>& device, const Model& model) { in removeOperationInputTest()
1231 [operation, input](Model* model, ExecutionPreference*, Priority*) { in removeOperationInputTest()
1241 static void removeOperationOutputTest(const std::shared_ptr<IDevice>& device, const Model& model) { in removeOperationOutputTest()
1249 [operation, output](Model* model, ExecutionPreference*, Priority*) { in removeOperationOutputTest()
1279 static void addOperationInputTest(const std::shared_ptr<IDevice>& device, const Model& model) { in addOperationInputTest()
1286 [operation](Model* model, ExecutionPreference*, Priority*) { in addOperationInputTest()
1296 static void addOperationOutputTest(const std::shared_ptr<IDevice>& device, const Model& model) { in addOperationOutputTest()
1301 [operation](Model* model, ExecutionPreference*, Priority*) { in addOperationOutputTest()
1317 const Model& model) { in mutateExecutionPreferenceTest()
1336 const Model& model) { in mutateExecutionPriorityTest()
1349 void validateModel(const std::shared_ptr<IDevice>& device, const Model& model) { in validateModel()