nuvec 0.4.0

Pure-Rust array framework for Apple Silicon in the spirit of MLX: lazy arrays, unified memory, composable transforms
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0282]: type annotations needed for `&_`
 --> tests/ui/inference/fail_unannotated_tuple.rs:7:29
  |
7 |     let _ = value_and_grad(|p| p.0.matmul(&p.1).sum())(&(Array, Array));
  |                             ^  --- type must be known at this point
  |
help: consider giving this closure parameter an explicit type, where the type for type parameter `P` is specified
  |
7 |     let _ = value_and_grad(|p: &P| p.0.matmul(&p.1).sum())(&(Array, Array));
  |                              ++++