Crate zyx_cpu

Source
Expand description

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.

Structs§

CPU
CPU backend
Tensor
Tensor is the core object of zyx. It is multidimensional array.

Enums§

DType
DType of tensor
ZyxError
ZyxError

Functions§

device
Create new CPU backend
save
Save all tensors into file. All parameters must be realized before calling this function, otherwise it will panic.