onnx_ffi 1.0.0+dev.1
onnx_ffi: ^1.0.0+dev.1 copied to clipboard
A Dart FFI-based implementation of the `onnx` package, providing native bindings to ONNX Runtime C API for high-performance ONNX model inference.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add onnx_ffiWith Flutter:
$ flutter pub add onnx_ffiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
onnx_ffi: ^1.0.0+dev.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:onnx_ffi/ffigen/bindings.dart';
import 'package:onnx_ffi/onnx_ffigen.dart';