Compiler User Manual

ONNC compiler generates a C99 conformable source code which contains series of

function calls of neural network accelerator libraries, like CMSIS-NN.

SYNOPSIS

onnc <input> [options …]

DESCRIPTION

To generate C99 conformable source code, ONNC compiler reads a neural network model and a clibration table generated by calibrator.

-o FILE

The output directory

-load-ctable=<path>

Load calibration table

-buffer-size=<number>

Activation buffer size (in bytes, default is 64K)

--enable-image-input-opt

Enable optimization for image input.

--help

Show this manual.