pub(crate) fn format_numpy(
et: ElementType,
shape: &[u64],
data: &[u8],
) -> StringExpand description
Format tensor data as a NumPy-style nested-bracket string.
Elements beyond NUMPY_THRESHOLD are elided with ....
pub(crate) fn format_numpy(
et: ElementType,
shape: &[u64],
data: &[u8],
) -> StringFormat tensor data as a NumPy-style nested-bracket string.
Elements beyond NUMPY_THRESHOLD are elided with ....