2 releases

0.1.1 Mar 21, 2024
0.1.0 Mar 9, 2024

#414 in Machine learning

Download history 121/week @ 2024-03-18 39/week @ 2024-04-01

70 downloads per month

MIT/Apache

190KB
4.5K SLoC

zyx-cpu

Cpu backend of zyx machine learning library.

This backend is written in pure rust and runs only on the cpu. It is not currently very fast, because it does not fuse operations together. It should be used mostly as reference implementation for other backends.

For README and source code, please visit github.

For more details, there is a book.

Cargo features

  • std - enables multithreading and zyx-core/std

lib.rs:

CPU only, pure rust backend for zyx

Initialize backend.

let dev = zyx_cpu::device()?;

For README, quick tutorial and source code, please visit https://www.github.com/zk4x/zyx.

For more details, there is a book.

Dependencies

~240–570KB
~10K SLoC