vyre-conform 0.1.0

Conformance suite for vyre backends — proves byte-identical output to CPU reference
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::spec::types::DataType;

/// A multi-dimensional tensor value.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct TensorValue {
    /// Shape dimensions (e.g., `[2, 3]` for a 2×3 matrix).
    pub shape: Vec<u64>,
    /// Element type of each tensor cell.
    pub element_type: DataType,
    /// Raw little-endian element data in row-major order.
    pub data: Vec<u8>,
}