Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Core-ML Rust Bindings (Work in Progress)
coreml-rs
is an experimental Rust library aimed at providing Rust bindings for Apple's Core ML framework.
Core ML is Apple's machine learning framework designed to integrate machine learning models into iOS, macOS, watchOS, and tvOS applications.
Status
This project is currently work in progress. The primary goal is to enable Rust developers to utilize Core ML models within their applications, leveraging Rust's performance and safety features for the rest of the ML infrastructure.
Roadmap
- Cleanup & fix bugs with the types and allow more input formats.
- Build zerocopy types for more efficiently passing inputs and outputs.
- Provide more configuration options for models.
Features
- Model Loading: Load Core ML models into Rust applications.
- Inference: Perform inference using loaded models.
- Data Handling: Manage input and output data for model inference.
Installation
To include coreml-rs
in your project, add the following to your Cargo.toml
dependencies:
[]
= { = "0.4", = "https://github.com/swarnimarun/coreml-rs" }
Usage
Here's a basic example of how to use coreml-rs
to load a Core ML model and perform inference:
use ;
use ;
Note: This is a simplified example. Actual implementation may vary based on the model's input and output specifications.
Contributing
Contributions are welcome! If you have experience with Core ML and Rust, consider helping to advance this project.