pub struct DeformableConv2dOptionsDescription {
pub stride: [usize; 2],
pub padding: [usize; 2],
pub dilation: [usize; 2],
pub weight_groups: usize,
pub offset_groups: usize,
}Available on crate feature
repr only.Fields§
§stride: [usize; 2]§padding: [usize; 2]§dilation: [usize; 2]§weight_groups: usize§offset_groups: usizeTrait Implementations§
Source§impl Clone for DeformableConv2dOptionsDescription
impl Clone for DeformableConv2dOptionsDescription
Source§fn clone(&self) -> DeformableConv2dOptionsDescription
fn clone(&self) -> DeformableConv2dOptionsDescription
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<'de> Deserialize<'de> for DeformableConv2dOptionsDescription
impl<'de> Deserialize<'de> for DeformableConv2dOptionsDescription
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
Source§impl From<DeformConvOptions<2>> for DeformableConv2dOptionsDescription
impl From<DeformConvOptions<2>> for DeformableConv2dOptionsDescription
Source§fn from(value: DeformConvOptions<2>) -> Self
fn from(value: DeformConvOptions<2>) -> Self
Converts to this type from the input type.
Source§impl From<DeformableConv2dOptionsDescription> for DeformConvOptions<2>
impl From<DeformableConv2dOptionsDescription> for DeformConvOptions<2>
Source§fn from(value: DeformableConv2dOptionsDescription) -> Self
fn from(value: DeformableConv2dOptionsDescription) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeformableConv2dOptionsDescription
impl PartialEq for DeformableConv2dOptionsDescription
Source§fn eq(&self, other: &DeformableConv2dOptionsDescription) -> bool
fn eq(&self, other: &DeformableConv2dOptionsDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeformableConv2dOptionsDescription
Auto Trait Implementations§
impl Freeze for DeformableConv2dOptionsDescription
impl RefUnwindSafe for DeformableConv2dOptionsDescription
impl Send for DeformableConv2dOptionsDescription
impl Sync for DeformableConv2dOptionsDescription
impl Unpin for DeformableConv2dOptionsDescription
impl UnwindSafe for DeformableConv2dOptionsDescription
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<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