aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/vela.py
diff options
context:
space:
mode:
authorLouis Verhaard <louis.verhaard@arm.com>2020-11-18 18:53:24 +0100
committerLouis Verhaard <louis.verhaard@arm.com>2020-11-25 17:27:32 +0100
commit11831ce127904b7cbf9641642e5414818a2cb40d (patch)
tree9e22021566c9ecc2660289ad91b5fdf9bc48876b /ethosu/vela/vela.py
parent3adc1e44125dc42e04568a5da5f7a7a2af3909df (diff)
downloadethos-u-vela-11831ce127904b7cbf9641642e5414818a2cb40d.tar.gz
MLBEDSW-3424: Added API.md
- Added API.md that describes the external APIs. - Renamed npu_get_api_version Signed-off-by: Louis Verhaard <louis.verhaard@arm.com> Change-Id: I6e6e6103a889da656b4e00c3cce3eee60dfa844a
Diffstat (limited to 'ethosu/vela/vela.py')
-rw-r--r--ethosu/vela/vela.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index f03bae75..b93774d0 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -30,7 +30,7 @@ from . import scheduler
from . import stats_writer
from . import tflite_writer
from ._version import __version__
-from .api import api_version
+from .api import API_VERSION
from .debug_database import DebugDatabase
from .errors import InputFileError
from .nn_graph import PassPlacement
@@ -192,7 +192,7 @@ def main(args=None):
parser = argparse.ArgumentParser(prog="vela", description="Neural network model compiler for Arm Ethos-U NPUs")
parser.add_argument("--version", action="version", version=__version__)
parser.add_argument(
- "--api-version", action="version", version=api_version, help="Displays the version of the external API."
+ "--api-version", action="version", version=API_VERSION, help="Displays the version of the external API."
)
parser.add_argument(
"--supported-ops-report",