shrinkage::experimental::BufferedDesign
Shrinkage for Rust · rust · 0.3.0
Source: src/experimental.rs
A borrowed design with one caller-owned block buffer for sequential scans.
Raw products use packed blocks; lazymatrix::LazyMatrix applies training normalization. Statistics retain the backend's combined scan hook. The adapter does not provide borrowed columns or rows, cache chunks, or require a full-width row buffer. Product outputs may be partial after an error.
The buffer remains borrowed until this adapter is dropped. Internal mutable borrowing supports the shared-reference operator traits; this adapter is intended for synchronous use and is not Sync. The design must remain unchanged across validation, normalization, and fitting.
Inherent implementation
Source: src/experimental.rs
new
Source: src/experimental.rs
Borrow a design and initialized buffer for blocks of at most block_shape.
Storage chunk and codec workspace can exceed the caller's buffer size.
Panics
Panics for a zero block dimension, dimension overflow, or a buffer shorter than the product of the requested block dimensions.
Implementation of ColumnStats
Source: src/experimental.rs
col_l1
Source: src/experimental.rs
col_l1_centered
Source: src/experimental.rs
col_l2
Source: src/experimental.rs
col_l2_centered
Source: src/experimental.rs
col_maxabs
Source: src/experimental.rs
col_maxabs_centered
Source: src/experimental.rs
col_means
Source: src/experimental.rs
col_medians
Source: src/experimental.rs
col_mins
Source: src/experimental.rs
col_quantile_ranges
Source: src/experimental.rs
col_ranges
Source: src/experimental.rs
col_sds
Source: src/experimental.rs
normalization_stats
Source: src/experimental.rs
Implementation of MatTransposeVecInto
Source: src/experimental.rs
mat_transpose_vec_into
Source: src/experimental.rs
Implementation of MatVecInto
Source: src/experimental.rs
matvec_into
Source: src/experimental.rs
Implementation of MatrixErrorType
Source: src/experimental.rs
Error
Source: src/experimental.rs
type Error = Error;Implementation of MatrixShape
Source: src/experimental.rs
ncols
Source: src/experimental.rs
nrows
Source: src/experimental.rs
Implementation of Freeze
Implementation of RefUnwindSafe
Implementation of Send
Implementation of Sync
Implementation of Unpin
Implementation of UnsafeUnpin
Implementation of UnwindSafe
Implementation of Any
Implementation of Borrow
Implementation of BorrowMut
Implementation of ByRef
Implementation of CastableFrom
Implementation of CastableFrom
Implementation of From
Implementation of Imply
Implementation of Into
Implementation of IntoEither
Implementation of Pointable
Implementation of Read
Implementation of Same
Implementation of SupersetOf
Implementation of TryFrom
Implementation of TryInto
