pub struct PaddedConvOptions<const N: usize> {
pub options: ConvOptions<N>,
pub padding_end: Option<[usize; N]>,
}👎Deprecated since 0.22.0:
Use ConvOptions::new_with_padding instead
Expand description
Convolution options with optional asymmetric end padding.
Deprecated compatibility wrapper for the convolution options API shipped in
Burn 0.22. Use ConvOptions::new_with_padding instead.
Fields§
§options: ConvOptions<N>👎Deprecated since 0.22.0:
Use ConvOptions::new_with_padding instead
The underlying convolution options.
padding_end: Option<[usize; N]>👎Deprecated since 0.22.0:
Use ConvOptions::new_with_padding instead
Padding at the end of each spatial dimension.
When None, the padding stored in Self::options is used unchanged.
Implementations§
Source§impl<const N: usize> PaddedConvOptions<N>
impl<const N: usize> PaddedConvOptions<N>
Trait Implementations§
Source§impl<const N: usize> Clone for PaddedConvOptions<N>
impl<const N: usize> Clone for PaddedConvOptions<N>
Source§impl<const N: usize> Debug for PaddedConvOptions<N>
impl<const N: usize> Debug for PaddedConvOptions<N>
Source§impl<const N: usize> From<ConvOptions<N>> for PaddedConvOptions<N>
impl<const N: usize> From<ConvOptions<N>> for PaddedConvOptions<N>
Source§fn from(options: ConvOptions<N>) -> Self
fn from(options: ConvOptions<N>) -> Self
Converts to this type from the input type.
Source§impl<const N: usize> From<PaddedConvOptions<N>> for ConvOptions<N>
impl<const N: usize> From<PaddedConvOptions<N>> for ConvOptions<N>
Source§fn from(value: PaddedConvOptions<N>) -> Self
fn from(value: PaddedConvOptions<N>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<const N: usize> Freeze for PaddedConvOptions<N>
impl<const N: usize> RefUnwindSafe for PaddedConvOptions<N>
impl<const N: usize> Send for PaddedConvOptions<N>
impl<const N: usize> Sync for PaddedConvOptions<N>
impl<const N: usize> Unpin for PaddedConvOptions<N>
impl<const N: usize> UnsafeUnpin for PaddedConvOptions<N>
impl<const N: usize> UnwindSafe for PaddedConvOptions<N>
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