Struct burn::tensor::ops::ConvTransposeOptions
pub struct ConvTransposeOptions<const N: usize> {
pub stride: [usize; N],
pub padding: [usize; N],
pub padding_out: [usize; N],
pub dilation: [usize; N],
pub groups: usize,
}
Expand description
Transposed convolution options.
Fields§
§stride: [usize; N]
Stride.
padding: [usize; N]
Padding.
padding_out: [usize; N]
Padding out.
dilation: [usize; N]
Dilation.
groups: usize
Groups.
Implementations§
Trait Implementations§
§impl<const N: usize> Clone for ConvTransposeOptions<N>
impl<const N: usize> Clone for ConvTransposeOptions<N>
§fn clone(&self) -> ConvTransposeOptions<N>
fn clone(&self) -> ConvTransposeOptions<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 more§impl<const N: usize> Debug for ConvTransposeOptions<N>
impl<const N: usize> Debug for ConvTransposeOptions<N>
§impl From<ConvTranspose1dOptionsDescription> for ConvTransposeOptions<1>
impl From<ConvTranspose1dOptionsDescription> for ConvTransposeOptions<1>
§fn from(val: ConvTranspose1dOptionsDescription) -> ConvTransposeOptions<1>
fn from(val: ConvTranspose1dOptionsDescription) -> ConvTransposeOptions<1>
Converts to this type from the input type.
§impl From<ConvTranspose2dOptionsDescription> for ConvTransposeOptions<2>
impl From<ConvTranspose2dOptionsDescription> for ConvTransposeOptions<2>
§fn from(val: ConvTranspose2dOptionsDescription) -> ConvTransposeOptions<2>
fn from(val: ConvTranspose2dOptionsDescription) -> ConvTransposeOptions<2>
Converts to this type from the input type.
§impl From<ConvTranspose3dOptionsDescription> for ConvTransposeOptions<3>
impl From<ConvTranspose3dOptionsDescription> for ConvTransposeOptions<3>
§fn from(val: ConvTranspose3dOptionsDescription) -> ConvTransposeOptions<3>
fn from(val: ConvTranspose3dOptionsDescription) -> ConvTransposeOptions<3>
Converts to this type from the input type.
§impl From<ConvTransposeOptions<1>> for ConvTranspose1dOptionsDescription
impl From<ConvTransposeOptions<1>> for ConvTranspose1dOptionsDescription
§fn from(value: ConvTransposeOptions<1>) -> ConvTranspose1dOptionsDescription
fn from(value: ConvTransposeOptions<1>) -> ConvTranspose1dOptionsDescription
Converts to this type from the input type.
§impl From<ConvTransposeOptions<2>> for ConvTranspose2dOptionsDescription
impl From<ConvTransposeOptions<2>> for ConvTranspose2dOptionsDescription
§fn from(value: ConvTransposeOptions<2>) -> ConvTranspose2dOptionsDescription
fn from(value: ConvTransposeOptions<2>) -> ConvTranspose2dOptionsDescription
Converts to this type from the input type.
§impl From<ConvTransposeOptions<3>> for ConvTranspose3dOptionsDescription
impl From<ConvTransposeOptions<3>> for ConvTranspose3dOptionsDescription
§fn from(value: ConvTransposeOptions<3>) -> ConvTranspose3dOptionsDescription
fn from(value: ConvTransposeOptions<3>) -> ConvTranspose3dOptionsDescription
Converts to this type from the input type.
§impl<const N: usize> Hash for ConvTransposeOptions<N>
impl<const N: usize> Hash for ConvTransposeOptions<N>
§impl<const N: usize> PartialEq for ConvTransposeOptions<N>
impl<const N: usize> PartialEq for ConvTransposeOptions<N>
impl<const N: usize> Eq for ConvTransposeOptions<N>
impl<const N: usize> StructuralPartialEq for ConvTransposeOptions<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for ConvTransposeOptions<N>
impl<const N: usize> RefUnwindSafe for ConvTransposeOptions<N>
impl<const N: usize> Send for ConvTransposeOptions<N>
impl<const N: usize> Sync for ConvTransposeOptions<N>
impl<const N: usize> Unpin for ConvTransposeOptions<N>
impl<const N: usize> UnwindSafe for ConvTransposeOptions<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
)§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.§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
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more