tree: 1ab60a80df963ef2f5307b1f3c5ac803a27f29d9 [path history] [tgz]
  1. README.md
  2. generate_api.py
  3. templates/
scripts/operator_api/README.md

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:

python generate_api.py