incin-core 0.1.0

Core tensor operations and static shape checking for incin
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Anonymous semantic-axis marker.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, Default)]
pub struct Anon;

/// Canonical static extent spelling. The underlying type is the raw typenum
/// unsigned integer emitted by the shape macro.
pub type Static<N> = N;

/// Canonical runtime extent spelling. Runtime values live in `ShapeBuf`.
pub type Runtime = usize;

/// Canonical named-axis dimension spelling.
pub type NamedAxis<Name, Extent> = crate::shapes::dim::NamedDim<Name, Extent>;