Home | History | Annotate | Download | only in models

Lines Matching refs:model

2 void CreateModel(Model *model) {
7 auto op1 = model->addOperand(&type0);
8 auto op2 = model->addOperand(&type1);
9 auto width = model->addOperand(&type2);
10 auto height = model->addOperand(&type2);
13 model->setOperandValue(width, width_init, sizeof(int32_t) * 1);
15 model->setOperandValue(height, height_init, sizeof(int32_t) * 1);
16 model->addOperation(ANEURALNETWORKS_RESIZE_BILINEAR, {op1, width, height}, {op2});
18 model->identifyInputsAndOutputs(
21 assert(model->isValid());