pub struct GRUState(pub Tensor);
Expand description
A GRU state, this contains a single tensor.
Tuple Fields
0: Tensor
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GRUState
impl Send for GRUState
impl !Sync for GRUState
impl Unpin for GRUState
impl UnwindSafe for GRUState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more