summaryrefslogtreecommitdiff
path: root/runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp')
-rw-r--r--runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp b/runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp
deleted file mode 100644
index e24d6f265..000000000
--- a/runtimes/tests/neural_networks_test/generated/models/softmax_quant8_2.model.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-// Generated file (from: softmax_quant8_2.mod.py). Do not edit
-void CreateModel(Model *model) {
- OperandType type1(Type::FLOAT32, {});
- OperandType type2(Type::TENSOR_QUANT8_ASYMM, {2, 5}, 0.00390625f, 0);
- OperandType type0(Type::TENSOR_QUANT8_ASYMM, {2, 5}, 0.5f, 0);
- // Phase 1, operands
- auto input = model->addOperand(&type0);
- auto beta = model->addOperand(&type1);
- auto output = model->addOperand(&type2);
- // Phase 2, operations
- static float beta_init[] = {1.0f};
- model->setOperandValue(beta, beta_init, sizeof(float) * 1);
- model->addOperation(ANEURALNETWORKS_SOFTMAX, {input, beta}, {output});
- // Phase 3, inputs and outputs
- model->identifyInputsAndOutputs(
- {input},
- {output});
- assert(model->isValid());
-}
-
-bool is_ignored(int i) {
- static std::set<int> ignore = {};
- return ignore.find(i) != ignore.end();
-}