nuvec 0.5.0

Pure-Rust MLX for Apple Silicon: lazy arrays on unified memory, composable transforms and Metal kernels
Documentation
1
2
3
4
5
6
7
8
//! Unannotated tuple patterns cannot be inferred either.
#[path = "stub/mod.rs"]
mod stub;
use stub::*;

fn main() {
    let _ = value_and_grad(|p| p.0.matmul(&p.1).sum())(&(Array, Array));
}