pub struct GruRecord<B>where
B: Backend,{
pub update_gate: <GateController<B> as Module<B>>::Record,
pub reset_gate: <GateController<B> as Module<B>>::Record,
pub new_gate: <GateController<B> as Module<B>>::Record,
pub d_hidden: <usize as Module<B>>::Record,
}
Expand description
The record type for the module.
Fields§
§update_gate: <GateController<B> as Module<B>>::Record
The module record associative type.
reset_gate: <GateController<B> as Module<B>>::Record
The module record associative type.
new_gate: <GateController<B> as Module<B>>::Record
The module record associative type.
The module record associative type.
Trait Implementations§
§impl<B> Record<B> for GruRecord<B>where
B: Backend,
impl<B> Record<B> for GruRecord<B>where
B: Backend,
§type Item<S: PrecisionSettings> = GruRecordItem<B, S>
type Item<S: PrecisionSettings> = GruRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for GruRecord<B>
impl<B> !RefUnwindSafe for GruRecord<B>
impl<B> Send for GruRecord<B>
impl<B> !Sync for GruRecord<B>
impl<B> Unpin for GruRecord<B>where
<B as Backend>::FloatTensorPrimitive: Unpin,
<B as Backend>::QuantizedTensorPrimitive: Unpin,
<B as Backend>::Device: Unpin,
impl<B> UnwindSafe for GruRecord<B>where
<B as Backend>::FloatTensorPrimitive: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more