Struct burn_core::nn::LinearRecord  
source · pub struct LinearRecord<B: Backend> {
    pub weight: <Param<Tensor<B, 2>> as Module<B>>::Record,
    pub bias: <Option<Param<Tensor<B, 1>>> as Module<B>>::Record,
}Fields§
§weight: <Param<Tensor<B, 2>> as Module<B>>::Record§bias: <Option<Param<Tensor<B, 1>>> as Module<B>>::RecordTrait Implementations§
source§impl<B: Clone + Backend> Clone for LinearRecord<B>
 
impl<B: Clone + Backend> Clone for LinearRecord<B>
source§fn clone(&self) -> LinearRecord<B>
 
fn clone(&self) -> LinearRecord<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 LinearRecord<B>
 
impl<B: Backend> Record for LinearRecord<B>
type Item<S: PrecisionSettings> = LinearRecordItem<B, S>
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 LinearRecord<B>where <B as Backend>::TensorPrimitive<1>: RefUnwindSafe, <B as Backend>::TensorPrimitive<2>: RefUnwindSafe,
impl<B> Send for LinearRecord<B>
impl<B> Sync for LinearRecord<B>
impl<B> Unpin for LinearRecord<B>where <B as Backend>::TensorPrimitive<1>: Unpin, <B as Backend>::TensorPrimitive<2>: Unpin,
impl<B> UnwindSafe for LinearRecord<B>where <B as Backend>::TensorPrimitive<1>: UnwindSafe, <B as Backend>::TensorPrimitive<2>: 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