redstone-ml 0.0.0

High-performance Machine Learning, Auto-Differentiation and Tensor Algebra crate for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bitflags::bitflags;

bitflags! {
    #[repr(transparent)]
    #[derive(Debug, Clone, Copy, PartialEq, Eq)]
    pub struct NdArrayFlags: u8 {
        const Owned = 0b00000001;
        const Contiguous = 0b00000010;
        const UniformStride = 0b00000100;
        const Writeable = 0b00001000;
        const UserCreated = 0b00010000;
        const RequiresGrad = 0b00100000;
    }
}