pub struct Conv2DShape {Show 16 fields
pub batch: String,
pub channels_in: String,
pub channels_out: String,
pub height: String,
pub width: String,
pub kernel_h: String,
pub kernel_w: String,
pub kernel_h_val: i64,
pub kernel_w_val: i64,
pub stride_h: i64,
pub stride_w: i64,
pub pad_h: i64,
pub pad_w: i64,
pub groups: i64,
pub dilation_h: i64,
pub dilation_w: i64,
}Expand description
Conv2D shape parameters extracted from uniform params.
Fields§
§batch: StringBatch dimension name.
channels_in: StringInput channel dimension name.
channels_out: StringOutput channel dimension name.
height: StringSpatial height dimension name.
width: StringSpatial width dimension name.
kernel_h: StringKernel height dimension name.
kernel_w: StringKernel width dimension name.
kernel_h_val: i64Kernel height as a concrete value.
kernel_w_val: i64Kernel width as a concrete value.
stride_h: i64Vertical stride.
stride_w: i64Horizontal stride.
pad_h: i64Vertical padding.
pad_w: i64Horizontal padding.
groups: i64Number of groups (1 = standard conv, channels_in = depthwise).
dilation_h: i64Vertical dilation.
dilation_w: i64Horizontal dilation.
Trait Implementations§
Source§impl Clone for Conv2DShape
impl Clone for Conv2DShape
Source§fn clone(&self) -> Conv2DShape
fn clone(&self) -> Conv2DShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Conv2DShape
impl Debug for Conv2DShape
Auto Trait Implementations§
impl Freeze for Conv2DShape
impl RefUnwindSafe for Conv2DShape
impl Send for Conv2DShape
impl Sync for Conv2DShape
impl Unpin for Conv2DShape
impl UnsafeUnpin for Conv2DShape
impl UnwindSafe for Conv2DShape
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