pub struct QCTConfig {
pub vocab_size: usize,
pub dim: usize,
pub num_blocks: usize,
pub seed: u64,
}Expand description
Configuration for a QCT model.
Fields§
§vocab_size: usizeVocabulary size (number of unique tokens).
dim: usizeModel dimension (density matrix size per token).
num_blocks: usizeNumber of QCT blocks (layers).
seed: u64Random seed for initialization.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QCTConfig
impl RefUnwindSafe for QCTConfig
impl Send for QCTConfig
impl Sync for QCTConfig
impl Unpin for QCTConfig
impl UnsafeUnpin for QCTConfig
impl UnwindSafe for QCTConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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