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§
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