pub struct Conv1d {
pub weight: Tensor,
pub stride: Vec<i64>,
pub padding: Padding,
pub dilation: Vec<i64>,
pub groups: i64,
pub bias: Tensor,
pub input_shape: Option<usize>,
pub metadata: MetadataMap,
}Expand description
1-D convolution.
Fields§
§weight: TensorKernel weights, typically (C_out, C_in, K).
stride: Vec<i64>Stride (scalar or length-1).
padding: PaddingPadding specification.
dilation: Vec<i64>Dilation (scalar or length-1).
groups: i64Grouped convolution groups.
bias: TensorBias of shape (C_out,) (required on the NIR wire).
input_shape: Option<usize>Optional spatial input length N used for shape inference.
metadata: MetadataMapFree-form node metadata (Python metadata dict).
Trait Implementations§
impl StructuralPartialEq for Conv1d
Auto Trait Implementations§
impl Freeze for Conv1d
impl RefUnwindSafe for Conv1d
impl Send for Conv1d
impl Sync for Conv1d
impl Unpin for Conv1d
impl UnsafeUnpin for Conv1d
impl UnwindSafe for Conv1d
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