onnx_ffi 1.0.0+dev.1 copy "onnx_ffi: ^1.0.0+dev.1" to clipboard
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_ffi

With Flutter:

 $ flutter pub add onnx_ffi

This 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.1

Alternatively, 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';
0
likes
120
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart FFI-based implementation of the `onnx` package, providing native bindings to ONNX Runtime C API for high-performance ONNX model inference.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

ffi

More

Packages that depend on onnx_ffi