$ cnpm install onnx-proto
Compiled Onnx Protobuf definition for JavaScript from github.com/onnx/onnx/blob/master/onnx/onnx.proto3.
First, add onnx-proto to your project.
npm install onnx-proto
Now, you can import the Onnx definition from the onnx-proto namespace.
import {onnx} from 'onnx-proto';
To update the definition, you have to run the following commands.
npm install
npm run build
New versions are automatically released to npm from the master branch.
8The software is provided under MIT license.
Onnx License: https://github.com/onnx/onnx/blob/master/LICENSE
Copyright 2013 - present © cnpmjs.org | Home |