Lines Matching refs:Model
36 const V1_0::Model& model) { in validateGetSupportedOperations()
47 const V1_0::Model& model) { in validatePrepareModel()
67 static void validate(const sp<IDevice>& device, const std::string& message, V1_0::Model model, in validate()
68 const std::function<void(Model*)>& mutation) { in validate()
94 static uint32_t addOperand(Model* model) { in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand()
123 static void mutateOperandTypeTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandTypeTest()
129 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
153 static void mutateOperandRankTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandRankTest()
158 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest()
182 static void mutateOperandScaleTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandScaleTest()
187 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest()
210 static void mutateOperandZeroPointTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperandZeroPointTest()
218 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest()
267 static bool mutateOperationOperandTypeSkip(size_t operand, const V1_0::Model& model) { in mutateOperationOperandTypeSkip()
281 static void mutateOperationOperandTypeTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperationOperandTypeTest()
296 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperationOperandTypeTest()
312 static void mutateOperationTypeTest(const sp<IDevice>& device, const V1_0::Model& model) { in mutateOperationTypeTest()
318 validate(device, message, model, [operation, invalidOperationType](Model* model) { in mutateOperationTypeTest()
329 const V1_0::Model& model) { in mutateOperationInputOperandIndexTest()
336 validate(device, message, model, [operation, input, invalidOperand](Model* model) { in mutateOperationInputOperandIndexTest()
346 const V1_0::Model& model) { in mutateOperationOutputOperandIndexTest()
353 validate(device, message, model, [operation, output, invalidOperand](Model* model) { in mutateOperationOutputOperandIndexTest()
374 static void removeOperand(Model* model, uint32_t index) { in removeOperand()
384 static void removeOperandTest(const sp<IDevice>& device, const V1_0::Model& model) { in removeOperandTest()
388 [operand](Model* model) { removeOperand(model, operand); }); in removeOperandTest()
394 static void removeOperation(Model* model, uint32_t index) { in removeOperation()
401 static void removeOperationTest(const sp<IDevice>& device, const V1_0::Model& model) { in removeOperationTest()
405 [operation](Model* model) { removeOperation(model, operation); }); in removeOperationTest()
411 static void removeOperationInputTest(const sp<IDevice>& device, const V1_0::Model& model) { in removeOperationInputTest()
425 validate(device, message, model, [operation, input](Model* model) { in removeOperationInputTest()
436 static void removeOperationOutputTest(const sp<IDevice>& device, const V1_0::Model& model) { in removeOperationOutputTest()
442 validate(device, message, model, [operation, output](Model* model) { in removeOperationOutputTest()
457 static void addOperationInputTest(const sp<IDevice>& device, const V1_0::Model& model) { in addOperationInputTest()
460 validate(device, message, model, [operation](Model* model) { in addOperationInputTest()
470 static void addOperationOutputTest(const sp<IDevice>& device, const V1_0::Model& model) { in addOperationOutputTest()
474 validate(device, message, model, [operation](Model* model) { in addOperationOutputTest()
484 void ValidationTest::validateModel(const V1_0::Model& model) { in validateModel()