pub struct DsaSpec {
pub name: String,
pub dtype: KdaDtype,
pub shape: Vec<usize>,
}Expand description
One expected tensor: layer-relative name, dtype, and full (unsharded) shape.
Fields§
§name: String§dtype: KdaDtype§shape: Vec<usize>Trait Implementations§
impl Eq for DsaSpec
impl StructuralPartialEq for DsaSpec
Auto Trait Implementations§
impl Freeze for DsaSpec
impl RefUnwindSafe for DsaSpec
impl Send for DsaSpec
impl Sync for DsaSpec
impl Unpin for DsaSpec
impl UnwindSafe for DsaSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.