diff options
author | Grant Watson <grant.watson@arm.com> | 2022-11-16 15:32:39 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-12-15 16:41:27 +0000 |
commit | 64285a1f25e2c7b85ed1f00b7947403e92baea00 (patch) | |
tree | 6d29c54f6497741449339e808508c854ba6a2267 /scripts/operator_api/README.md | |
parent | b45db9a696f5df7b233f374248f329c16ee7ae64 (diff) | |
download | reference_model-64285a1f25e2c7b85ed1f00b7947403e92baea00.tar.gz |
Extend reference model API with eager operator execution entrypoints
- Adds a script to generate operators.h and operators.cc
- Adds jinja2 templates for generating operators.h and operators.cc
- Adds unit tests for a subset of the operators generated
- Includes the TOSA specification as a submodule
- Adds supporting C++ and header files
Signed-off-by: Grant Watson <grant.watson@arm.com>
Change-Id: I5b60db4c56113110d8e75fe1152525d258233f9c
Diffstat (limited to 'scripts/operator_api/README.md')
-rw-r--r-- | scripts/operator_api/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/operator_api/README.md b/scripts/operator_api/README.md new file mode 100644 index 0000000..381d90c --- /dev/null +++ b/scripts/operator_api/README.md @@ -0,0 +1,19 @@ +# Generate eager operator execution entrypoints + +## Introduction + +The generate_api.py script will generate an extended reference model API with eager operator execution entrypoints. +The following files will be generated: include/operators.h and src/operators.cc + +## Requirements + +* Python 3.6 or later +* Jinja2 (install with ```pip install Jinja2```) + +## Running from the command line + +The script can be run from the scripts/operator-api directory as follows: + +```bash +python generate_api.py +``` |