1// Generated file (from: tanh.mod.py). Do not edit
2void CreateModel(Model *model) {
3  OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 1});
4  // Phase 1, operands
5  auto op1 = model->addOperand(&type0);
6  auto op2 = model->addOperand(&type0);
7  // Phase 2, operations
8  model->addOperation(ANEURALNETWORKS_TANH, {op1}, {op2});
9  // Phase 3, inputs and outputs
10  model->identifyInputsAndOutputs(
11    {op1},
12    {op2});
13  assert(model->isValid());
14}
15
16bool is_ignored(int i) {
17  static std::set<int> ignore = {};
18  return ignore.find(i) != ignore.end();
19}
20