1224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen// Generated file (from: concat_float_3.mod.py). Do not edit
2224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chenvoid CreateModel(Model *model) {
3224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  OperandType type2(Type::INT32, {});
4e68d924a02511200be6186c947359dee7bb58f23Jean-Luc Brouillet  OperandType type1(Type::TENSOR_FLOAT32, {212, 30});
5e68d924a02511200be6186c947359dee7bb58f23Jean-Luc Brouillet  OperandType type0(Type::TENSOR_FLOAT32, {212, 60});
6e68d924a02511200be6186c947359dee7bb58f23Jean-Luc Brouillet  OperandType type3(Type::TENSOR_FLOAT32, {212, 90});
7224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  // Phase 1, operands
8224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  auto input1 = model->addOperand(&type0);
9224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  auto input2 = model->addOperand(&type1);
10224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  auto axis1 = model->addOperand(&type2);
11224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  auto output = model->addOperand(&type3);
12224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  // Phase 2, operations
13224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  static int32_t axis1_init[] = {1};
14224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  model->setOperandValue(axis1, axis1_init, sizeof(int32_t) * 1);
15224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  model->addOperation(ANEURALNETWORKS_CONCATENATION, {input1, input2, axis1}, {output});
16224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  // Phase 3, inputs and outputs
1766d5cb6e3a90aefc8d545f6369080ab88de9d667Jean-Luc Brouillet  model->identifyInputsAndOutputs(
18224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen    {input1, input2},
19224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen    {output});
20224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  assert(model->isValid());
21224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen}
22224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen
23224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chenbool is_ignored(int i) {
24224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  static std::set<int> ignore = {};
25224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen  return ignore.find(i) != ignore.end();
26224c01eb06d3dc496b99b0827fdcc9e65bfc4f9aDong Chen}
27