pub struct LyricEncoderRecord<B: Backend> {
pub embed_tokens: <Linear<B> as Module<B>>::Record,
pub layers: <Vec<AceStepEncoderLayer<B>> as Module<B>>::Record,
pub norm: <ConditionRmsNorm<B> as Module<B>>::Record,
pub head_dim: EmptyRecord,
pub rope_theta: EmptyRecord,
}Expand description
The record type for the module.
Fields§
§embed_tokens: <Linear<B> as Module<B>>::RecordThe module record associative type.
layers: <Vec<AceStepEncoderLayer<B>> as Module<B>>::RecordThe module record associative type.
norm: <ConditionRmsNorm<B> as Module<B>>::RecordThe module record associative type.
head_dim: EmptyRecord§rope_theta: EmptyRecordTrait Implementations§
Source§impl<B: Backend> Record<B> for LyricEncoderRecord<B>
impl<B: Backend> Record<B> for LyricEncoderRecord<B>
Source§type Item<S: PrecisionSettings> = LyricEncoderRecordItem<B, S>
type Item<S: PrecisionSettings> = LyricEncoderRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for LyricEncoderRecord<B>
impl<B> !RefUnwindSafe for LyricEncoderRecord<B>
impl<B> !UnwindSafe for LyricEncoderRecord<B>
impl<B> Send for LyricEncoderRecord<B>
impl<B> Sync for LyricEncoderRecord<B>
impl<B> Unpin for LyricEncoderRecord<B>where
<B as BackendTypes>::FloatTensorPrimitive: Unpin,
<B as BackendTypes>::QuantizedTensorPrimitive: Unpin,
<B as BackendTypes>::Device: Unpin,
impl<B> UnsafeUnpin for LyricEncoderRecord<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