Struct burn_core::nn::conv::Conv1dRecord
source · pub struct Conv1dRecord<B: Backend> {
pub weight: <Param<Tensor<B, 3>> as Module<B>>::Record,
pub bias: <Option<Param<Tensor<B, 1>>> as Module<B>>::Record,
pub stride: <usize as Module<B>>::Record,
pub kernel_size: <usize as Module<B>>::Record,
pub dilation: <usize as Module<B>>::Record,
pub groups: <usize as Module<B>>::Record,
pub padding: <PaddingConfig1d as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§weight: <Param<Tensor<B, 3>> as Module<B>>::RecordThe module record associative type.
bias: <Option<Param<Tensor<B, 1>>> as Module<B>>::RecordThe module record associative type.
stride: <usize as Module<B>>::RecordThe module record associative type.
kernel_size: <usize as Module<B>>::RecordThe module record associative type.
dilation: <usize as Module<B>>::RecordThe module record associative type.
groups: <usize as Module<B>>::RecordThe module record associative type.
padding: <PaddingConfig1d as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Clone + Backend> Clone for Conv1dRecord<B>
impl<B: Clone + Backend> Clone for Conv1dRecord<B>
source§fn clone(&self) -> Conv1dRecord<B>
fn clone(&self) -> Conv1dRecord<B>
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<B: Backend> Record for Conv1dRecord<B>
impl<B: Backend> Record for Conv1dRecord<B>
§type Item<S: PrecisionSettings> = Conv1dRecordItem<B, S>
type Item<S: PrecisionSettings> = Conv1dRecordItem<B, S>
Type of the item that can be serialized and deserialized.
source§fn into_item<S: PrecisionSettings>(self) -> Self::Item<S>
fn into_item<S: PrecisionSettings>(self) -> Self::Item<S>
Convert the current record into the corresponding item that follows the given settings.
source§fn from_item<S: PrecisionSettings>(item: Self::Item<S>) -> Self
fn from_item<S: PrecisionSettings>(item: Self::Item<S>) -> Self
Convert the given item into a record.
Auto Trait Implementations§
impl<B> RefUnwindSafe for Conv1dRecord<B>where <B as Backend>::TensorPrimitive<1>: RefUnwindSafe, <B as Backend>::TensorPrimitive<3>: RefUnwindSafe,
impl<B> Send for Conv1dRecord<B>
impl<B> Sync for Conv1dRecord<B>
impl<B> Unpin for Conv1dRecord<B>where <B as Backend>::TensorPrimitive<1>: Unpin, <B as Backend>::TensorPrimitive<3>: Unpin,
impl<B> UnwindSafe for Conv1dRecord<B>where <B as Backend>::TensorPrimitive<1>: UnwindSafe, <B as Backend>::TensorPrimitive<3>: UnwindSafe,
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