aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/test/extapi/test_extapi_encode_bias.py
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2020-11-18 17:05:50 +0100
committerpatrik.gustavsson <patrik.gustavsson@arm.com>2020-11-19 12:12:07 +0000
commitc8a22f198c4fb23735962fee00c062b0325ca6a6 (patch)
treee9a99cb102d43471a6454267170aa7e5ba3b541f /ethosu/vela/test/extapi/test_extapi_encode_bias.py
parentbdf09f9eca75fab14298a94a5402efc15f698e68 (diff)
downloadethos-u-vela-c8a22f198c4fb23735962fee00c062b0325ca6a6.tar.gz
MLBEDSW-3251 Add version to external API
Added version to the external API -Added CLI-option --api_version -Added API function to get the API version Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: I0143b50adf884a2b05145912a1c7bef8cecc5f02
Diffstat (limited to 'ethosu/vela/test/extapi/test_extapi_encode_bias.py')
-rw-r--r--ethosu/vela/test/extapi/test_extapi_encode_bias.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ethosu/vela/test/extapi/test_extapi_encode_bias.py b/ethosu/vela/test/extapi/test_extapi_encode_bias.py
index 59b85873..ffdd3b0c 100644
--- a/ethosu/vela/test/extapi/test_extapi_encode_bias.py
+++ b/ethosu/vela/test/extapi/test_extapi_encode_bias.py
@@ -37,7 +37,3 @@ def test_encode_bias():
biases_enc = encode_bias(bias, scale, shift)
assert isinstance(biases_enc, bytearray)
assert len(biases_enc) == 10
-
-
-if __name__ == "__main__":
- test_encode_bias()