diff options
Diffstat (limited to 'tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp')
-rw-r--r-- | tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp b/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp index 345a0fed98..e1a637a2d1 100644 --- a/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp +++ b/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp @@ -76,7 +76,7 @@ int main(int argc, char* argv[]) "Path to armnn format model file", cxxopts::value<std::string>(modelPath)) ("f,model-format", - "The model format. Supported values: tensorflow, tflite", + "The model format. Supported values: tflite", cxxopts::value<std::string>(modelFormat)) ("i,input-name", "Identifier of the input tensors in the network separated by comma with no space.", @@ -312,11 +312,7 @@ int main(int argc, char* argv[]) const unsigned int batchSize = 1; // Get normalisation parameters SupportedFrontend modelFrontend; - if (modelFormat == "tensorflow") - { - modelFrontend = SupportedFrontend::TensorFlow; - } - else if (modelFormat == "tflite") + if (modelFormat == "tflite") { modelFrontend = SupportedFrontend::TFLite; } |