Struct burn_core::nn::EmbeddingRecord
source · pub struct EmbeddingRecord<B: Backend> {
pub weight: <Param<Tensor<B, 2>> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§weight: <Param<Tensor<B, 2>> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Backend> Record<B> for EmbeddingRecord<B>
impl<B: Backend> Record<B> for EmbeddingRecord<B>
§type Item<S: PrecisionSettings> = EmbeddingRecordItem<B, S>
type Item<S: PrecisionSettings> = EmbeddingRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> RefUnwindSafe for EmbeddingRecord<B>
impl<B> Send for EmbeddingRecord<B>
impl<B> Sync for EmbeddingRecord<B>
impl<B> Unpin for EmbeddingRecord<B>
impl<B> UnwindSafe for EmbeddingRecord<B>
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