pub struct CfCRecord<B: Backend> {
pub cell: <CfCCell<B> as Module<B>>::Record,
pub proj: <Option<Linear<B>> as Module<B>>::Record,
pub input_size: <usize as Module<B>>::Record,
pub hidden_size: <usize as Module<B>>::Record,
pub batch_first: <bool as Module<B>>::Record,
pub return_sequences: <bool as Module<B>>::Record,
pub proj_size: <Option<usize> as Module<B>>::Record,
pub output_size: <usize as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§cell: <CfCCell<B> as Module<B>>::RecordThe module record associative type.
proj: <Option<Linear<B>> as Module<B>>::RecordThe module record associative type.
input_size: <usize as Module<B>>::RecordThe module record associative type.
The module record associative type.
batch_first: <bool as Module<B>>::RecordThe module record associative type.
return_sequences: <bool as Module<B>>::RecordThe module record associative type.
proj_size: <Option<usize> as Module<B>>::RecordThe module record associative type.
output_size: <usize as Module<B>>::RecordThe module record associative type.
Trait Implementations§
Source§impl<B: Backend> Record<B> for CfCRecord<B>
impl<B: Backend> Record<B> for CfCRecord<B>
Source§type Item<S: PrecisionSettings> = CfCRecordItem<B, S>
type Item<S: PrecisionSettings> = CfCRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for CfCRecord<B>
impl<B> !RefUnwindSafe for CfCRecord<B>
impl<B> Send for CfCRecord<B>
impl<B> !Sync for CfCRecord<B>
impl<B> Unpin for CfCRecord<B>where
<B as Backend>::FloatTensorPrimitive: Unpin,
<B as Backend>::QuantizedTensorPrimitive: Unpin,
<B as Backend>::Device: Unpin,
impl<B> UnwindSafe for CfCRecord<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
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