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