Lines Matching defs:model
2 void CreateModel(Model *model) {
7 auto op1 = model->addOperand(&type0);
8 auto op2 = model->addOperand(&type0);
9 auto axis0 = model->addOperand(&type1);
10 auto result = model->addOperand(&type2);
13 model->setOperandValue(axis0, axis0_init, sizeof(int32_t) * 1);
14 model->addOperation(ANEURALNETWORKS_CONCATENATION, {op1, op2, axis0}, {result});
16 model->identifyInputsAndOutputs(
20 model->relaxComputationFloat32toFloat16(true);
21 assert(model->isValid());