aboutsummaryrefslogtreecommitdiff
path: root/python/scripts/utils/model_identification.py
diff options
context:
space:
mode:
authorFreddie Liardet <frederick.liardet@arm.com>2021-09-21 12:36:43 +0100
committerFreddie Liardet <frederick.liardet@arm.com>2021-10-18 11:13:39 +0000
commit487d390b94ee93e1d89f5066ef8ca9442ab0a590 (patch)
tree4ecd1d31ee118a6e708dbff33df12cbcb6e58908 /python/scripts/utils/model_identification.py
parent841c3e9f68b1954828a9137d6780b6d021354eb7 (diff)
downloadComputeLibrary-487d390b94ee93e1d89f5066ef8ca9442ab0a590.tar.gz
Add user provided JSON operator list build
Allow ACL to be built via a user provided JSON file containing operators, data types and data layouts. Modify TFLite file to JSON file script to output data layouts. Fix build issue with "fat_binary" and "high_priority" options. Resolves: COMPMID-4697, COMPMID-4837 Signed-off-by: Freddie Liardet <frederick.liardet@arm.com> Change-Id: I08d494151c98f804325707ffd922ffe216813023 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6427 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Diffstat (limited to 'python/scripts/utils/model_identification.py')
-rw-r--r--python/scripts/utils/model_identification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/scripts/utils/model_identification.py b/python/scripts/utils/model_identification.py
index 43e7d20f61..84a6e1a097 100644
--- a/python/scripts/utils/model_identification.py
+++ b/python/scripts/utils/model_identification.py
@@ -24,7 +24,7 @@ import os
def is_tflite_model(model_path):
- """Check if a model is of TfLite type
+ """Check if a model is of TFLite type
Parameters:
----------
@@ -34,7 +34,7 @@ def is_tflite_model(model_path):
Returns
----------
bool:
- True if given path is a valid TfLite model
+ True if given path is a valid TFLite model
"""
try: