pub struct EmbeddingGradients {
pub weight: Array2<f64>,
}Expand description
Gradients for character embedding layer.
Fields§
§weight: Array2<f64>Trait Implementations§
Source§impl Clone for EmbeddingGradients
impl Clone for EmbeddingGradients
Source§fn clone(&self) -> EmbeddingGradients
fn clone(&self) -> EmbeddingGradients
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EmbeddingGradients
impl RefUnwindSafe for EmbeddingGradients
impl Send for EmbeddingGradients
impl Sync for EmbeddingGradients
impl Unpin for EmbeddingGradients
impl UnwindSafe for EmbeddingGradients
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