pub struct FlowMatchingRecord<B: Backend> {
pub cond_feature_emb: <Linear<B> as Module<B>>::Record,
pub zero_cond_embedding1: <Param<Tensor<B, 1>> as Module<B>>::Record,
pub estimator: <LlamaTransformer<B> as Module<B>>::Record,
pub vq_embed: <ResidualVQ<B> as Module<B>>::Record,
pub debug_latent_steps: EmptyRecord,
}Expand description
The record type for the module.
Fields§
§cond_feature_emb: <Linear<B> as Module<B>>::RecordThe module record associative type.
zero_cond_embedding1: <Param<Tensor<B, 1>> as Module<B>>::RecordThe module record associative type.
estimator: <LlamaTransformer<B> as Module<B>>::RecordThe module record associative type.
vq_embed: <ResidualVQ<B> as Module<B>>::RecordThe module record associative type.
debug_latent_steps: EmptyRecordTrait Implementations§
Source§impl<B: Backend> Record<B> for FlowMatchingRecord<B>
impl<B: Backend> Record<B> for FlowMatchingRecord<B>
Source§type Item<S: PrecisionSettings> = FlowMatchingRecordItem<B, S>
type Item<S: PrecisionSettings> = FlowMatchingRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for FlowMatchingRecord<B>
impl<B> !RefUnwindSafe for FlowMatchingRecord<B>
impl<B> !UnwindSafe for FlowMatchingRecord<B>
impl<B> Send for FlowMatchingRecord<B>
impl<B> Sync for FlowMatchingRecord<B>
impl<B> Unpin for FlowMatchingRecord<B>where
<B as BackendTypes>::FloatTensorPrimitive: Unpin,
<B as BackendTypes>::QuantizedTensorPrimitive: Unpin,
<B as BackendTypes>::Device: Unpin,
impl<B> UnsafeUnpin for FlowMatchingRecord<B>where
<B as BackendTypes>::Device: UnsafeUnpin,
<B as BackendTypes>::FloatTensorPrimitive: UnsafeUnpin,
<B as BackendTypes>::QuantizedTensorPrimitive: UnsafeUnpin,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
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