pub struct Conv2dOptionsIr {
pub stride: [usize; 2],
pub padding: [usize; 2],
pub dilation: [usize; 2],
pub groups: usize,
}Fields§
§stride: [usize; 2]§padding: [usize; 2]§dilation: [usize; 2]§groups: usizeTrait Implementations§
Source§impl Clone for Conv2dOptionsIr
impl Clone for Conv2dOptionsIr
Source§fn clone(&self) -> Conv2dOptionsIr
fn clone(&self) -> Conv2dOptionsIr
Returns a duplicate 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 Debug for Conv2dOptionsIr
impl Debug for Conv2dOptionsIr
Source§impl<'de> Deserialize<'de> for Conv2dOptionsIr
impl<'de> Deserialize<'de> for Conv2dOptionsIr
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<Conv2dOptionsIr> for ConvOptions<2>
impl From<Conv2dOptionsIr> for ConvOptions<2>
Source§fn from(val: Conv2dOptionsIr) -> Self
fn from(val: Conv2dOptionsIr) -> Self
Converts to this type from the input type.
Source§impl From<ConvOptions<2>> for Conv2dOptionsIr
impl From<ConvOptions<2>> for Conv2dOptionsIr
Source§fn from(value: ConvOptions<2>) -> Self
fn from(value: ConvOptions<2>) -> Self
Converts to this type from the input type.
Source§impl Hash for Conv2dOptionsIr
impl Hash for Conv2dOptionsIr
Source§impl PartialEq for Conv2dOptionsIr
impl PartialEq for Conv2dOptionsIr
Source§impl Serialize for Conv2dOptionsIr
impl Serialize for Conv2dOptionsIr
impl StructuralPartialEq for Conv2dOptionsIr
Auto Trait Implementations§
impl Freeze for Conv2dOptionsIr
impl RefUnwindSafe for Conv2dOptionsIr
impl Send for Conv2dOptionsIr
impl Sync for Conv2dOptionsIr
impl Unpin for Conv2dOptionsIr
impl UnwindSafe for Conv2dOptionsIr
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