Struct burn_tensor::ops::ConvOptions
source · pub struct ConvOptions<const N: usize> {
pub stride: [usize; N],
pub padding: [usize; N],
pub dilation: [usize; N],
pub groups: usize,
}
Expand description
Convolution options.
Fields§
§stride: [usize; N]
Stride.
padding: [usize; N]
Padding.
dilation: [usize; N]
Dilation.
groups: usize
Groups.
Implementations§
Trait Implementations§
source§impl<const N: usize> Clone for ConvOptions<N>
impl<const N: usize> Clone for ConvOptions<N>
source§fn clone(&self) -> ConvOptions<N>
fn clone(&self) -> ConvOptions<N>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const N: usize> Debug for ConvOptions<N>
impl<const N: usize> Debug for ConvOptions<N>
source§impl From<Conv1dOptionsDescription> for ConvOptions<1>
impl From<Conv1dOptionsDescription> for ConvOptions<1>
source§fn from(val: Conv1dOptionsDescription) -> Self
fn from(val: Conv1dOptionsDescription) -> Self
Converts to this type from the input type.
source§impl From<Conv2dOptionsDescription> for ConvOptions<2>
impl From<Conv2dOptionsDescription> for ConvOptions<2>
source§fn from(val: Conv2dOptionsDescription) -> Self
fn from(val: Conv2dOptionsDescription) -> Self
Converts to this type from the input type.
source§impl From<Conv3dOptionsDescription> for ConvOptions<3>
impl From<Conv3dOptionsDescription> for ConvOptions<3>
source§fn from(val: Conv3dOptionsDescription) -> Self
fn from(val: Conv3dOptionsDescription) -> Self
Converts to this type from the input type.
source§impl From<ConvOptions<1>> for Conv1dOptionsDescription
impl From<ConvOptions<1>> for Conv1dOptionsDescription
source§fn from(value: ConvOptions<1>) -> Self
fn from(value: ConvOptions<1>) -> Self
Converts to this type from the input type.
source§impl From<ConvOptions<2>> for Conv2dOptionsDescription
impl From<ConvOptions<2>> for Conv2dOptionsDescription
source§fn from(value: ConvOptions<2>) -> Self
fn from(value: ConvOptions<2>) -> Self
Converts to this type from the input type.
source§impl From<ConvOptions<3>> for Conv3dOptionsDescription
impl From<ConvOptions<3>> for Conv3dOptionsDescription
source§fn from(value: ConvOptions<3>) -> Self
fn from(value: ConvOptions<3>) -> Self
Converts to this type from the input type.
source§impl<const N: usize> Hash for ConvOptions<N>
impl<const N: usize> Hash for ConvOptions<N>
source§impl<const N: usize> PartialEq for ConvOptions<N>
impl<const N: usize> PartialEq for ConvOptions<N>
impl<const N: usize> Eq for ConvOptions<N>
impl<const N: usize> StructuralPartialEq for ConvOptions<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ConvOptions<N>
impl<const N: usize> RefUnwindSafe for ConvOptions<N>
impl<const N: usize> Send for ConvOptions<N>
impl<const N: usize> Sync for ConvOptions<N>
impl<const N: usize> Unpin for ConvOptions<N>
impl<const N: usize> UnwindSafe for ConvOptions<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)