aboutsummaryrefslogtreecommitdiff
path: root/scripts/operator_api/README.md
blob: 381d90c207061e93a5c47b3937efc254eaa9d654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
```