nuvec 0.6.1

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
9
10
11
12
13
use nuvec::{Array, Tree};

#[derive(Clone)]
struct Host;

#[derive(Clone, Tree)]
struct Bad {
    a: Array,
    #[tree(skip)]
    host: Host,
}

fn main() {}