pub enum BlockedTensorPadding {
Exact,
ZeroFill {
physical_dimensions: Vec<u64>,
},
}Variants§
Trait Implementations§
Source§impl Clone for BlockedTensorPadding
impl Clone for BlockedTensorPadding
Source§fn clone(&self) -> BlockedTensorPadding
fn clone(&self) -> BlockedTensorPadding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockedTensorPadding
impl Debug for BlockedTensorPadding
Source§impl<'de> Deserialize<'de> for BlockedTensorPadding
impl<'de> Deserialize<'de> for BlockedTensorPadding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BlockedTensorPadding
Source§impl PartialEq for BlockedTensorPadding
impl PartialEq for BlockedTensorPadding
Source§impl Serialize for BlockedTensorPadding
impl Serialize for BlockedTensorPadding
impl StructuralPartialEq for BlockedTensorPadding
Auto Trait Implementations§
impl Freeze for BlockedTensorPadding
impl RefUnwindSafe for BlockedTensorPadding
impl Send for BlockedTensorPadding
impl Sync for BlockedTensorPadding
impl Unpin for BlockedTensorPadding
impl UnsafeUnpin for BlockedTensorPadding
impl UnwindSafe for BlockedTensorPadding
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