Package Exports
- onnx-proto
- onnx-proto/dist/onnx.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (onnx-proto) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Onnx Proto
Compiled Onnx Protobuf definition for JavaScript from github.com/onnx/onnx/blob/master/onnx/onnx.proto3.
Include Onnx Definition in Typescript
First, add onnx-proto to your project.
npm install onnx-protoNow, you can import the Onnx definition from the onnx-proto namespace.
import {onnx} from 'onnx-proto';Build
To update the definition, you have to run the following commands.
npm install
npm run buildNew versions are automatically released to npm from the master branch.
Changelog
- 8.0.0
- Replace Travis CI with Github CI
- Auto-publish master branch to NPM
- Add simple tests to verify package before publishing
- Update to latest Onnx definition (v1.10.2) IR_VERSION
8
- 4.0.0
- Add Travis CI/CD
- Update to latest Onnx definition
- 3.1.1
- Remove unused files
- 3.1.0
- Initial release of Onnx IR_VERSION 3
License
The software is provided under MIT license.
Onnx License: https://github.com/onnx/onnx/blob/master/LICENSE