Search

Lib.rs

›
#artificial-intelligence #generic #workload #optimized #spline-for-ai

no-std rs-spline

A generic spline library for Rust optimized for AI workloads

by Joe McCain III

  • Install
  • API reference
  • Source
  • Repository link

1 unstable release

0.0.0 Jun 1, 2024

#14 in #workload

Apache-2.0

13KB
232 lines

rs-spline

crates.io docs.rs

clippy rust


The library is currently in the early stages of development and is not yet ready for production use.

A generic spline library for Rust optimized for AI workloads

Features

Getting Started

Building from the source

Start by cloning the repository

git clone https://github.com/FL03/rs-spline.git
cd rs-spline
cargo build --features full -r --workspace

Usage

Example: Linear Model (biased)

    extern crate rs-spline;

    fn main() -> anyhow::Result<()> {
        tracing_subscriber::fmt::init();
        tracing::info!("Starting linear model example");


        Ok(())
    }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

  • Apache-2.0
  • MIT

Dependencies

~0.5–1.4MB
~28K SLoC

  • getrandom 0.2+js wasm32-unknown-unknown
  • num 0.4
  • alloc? serde? std? serde+derive
  • strum 0.26+derive
  • build build.rs
  • dev lazy_static

Other features

  • full
  • rand
  • wasi
  • wasm
Related: rstmt-neo, concision-gnn, acme-core, contained-core, concision-core, concision-linear, concision-math, concision-utils, ndtensor, rstm-actors, rspace-traits, acme, contained, rs-sandbox-macros, rs-sandbox-core, rs-sandbox-derive
See also: ksunami, kube-leader-election, latte-cli, json-escape-simd, generic-array, torg-core, radix_trie, rowan, aws-smithy-types, error-code, intervaltree

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.