pub enum SameBlocker {
SameLower,
Dilated,
ThreeSpatialDims,
}Expand description
Why burn cannot defer a SAME_UPPER/SAME_LOWER padding to forward time.
Each variant names a property of burn’s calculate_same_padding, verified against the pinned
burn revision. Display renders the sentence that goes into the user-facing ProcessError.
Variants§
SameLower
ONNX puts the extra pad of an odd total at the start, burn puts it at the end.
Dilated
burn’s forward-time padding takes no dilation, so the effective kernel would be wrong.
ThreeSpatialDims
burn’s 3D padding is symmetric-only, so an odd total has nowhere to go.
Trait Implementations§
Source§impl Clone for SameBlocker
impl Clone for SameBlocker
impl Copy for SameBlocker
Source§impl Debug for SameBlocker
impl Debug for SameBlocker
Source§impl Display for SameBlocker
impl Display for SameBlocker
impl Eq for SameBlocker
Source§impl PartialEq for SameBlocker
impl PartialEq for SameBlocker
impl StructuralPartialEq for SameBlocker
Auto Trait Implementations§
impl Freeze for SameBlocker
impl RefUnwindSafe for SameBlocker
impl Send for SameBlocker
impl Sync for SameBlocker
impl Unpin for SameBlocker
impl UnsafeUnpin for SameBlocker
impl UnwindSafe for SameBlocker
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.