mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
### Description * Implemented: `getParametersSize`, `getContiguousParameters` (equivalent to copyParametersToBuffer), and `loadParametersBuffer` (equivalent to copyParametersFromBuffer) * as part of these changes, getParametersSize was added to the TrainingSession interface so that users know what size buffer to create for loadParametersBuffer * The parameters methods in the interface were modified to take in a Float32Array instead ### Motivation and Context * part of the work for implementing web bindings for training * enables federated learning in the web * previous PR: #18006 --------- Co-authored-by: Ashwini Khade <askhade@microsoft.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| test | ||
| .gitignore | ||
| .npmignore | ||
| build.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| typedoc.json | ||
| webpack.config.js | ||
ONNX Runtime JavaScript API
ONNX Runtime JavaScript API is a unified API for all JavaScript usages. It's dependency of the following NPM packages:
- onnxruntime-node
- onnxruntime-web
- onnxruntime-react-native
This package (onnxruntime-common) is not designed for using directly. Please consider to install one of the NPM packages above according to target platform.
License
License information can be found here.