pub trait StackTuple: Sealed {
type Sample;
type Error;
}Expand description
A sealed tuple shape accepted by StackDataset.
RustTorch implements this trait for dataset tuples with arities two through eight whose children share one error type.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".