pub struct ByteForgeConfig {
pub patch_size_range: (usize, usize),
pub entropy_threshold: f32,
pub compression_threshold: f32,
pub semantic_weight: f32,
pub model_dim: usize,
pub num_heads: usize,
pub num_layers: usize,
pub vocab_size: usize,
pub max_seq_len: usize,
pub use_quantization: bool,
pub use_streaming: bool,
}Fields§
§patch_size_range: (usize, usize)§entropy_threshold: f32§compression_threshold: f32§semantic_weight: f32§model_dim: usize§num_heads: usize§num_layers: usize§vocab_size: usize§max_seq_len: usize§use_quantization: bool§use_streaming: boolTrait Implementations§
Source§impl Clone for ByteForgeConfig
impl Clone for ByteForgeConfig
Source§fn clone(&self) -> ByteForgeConfig
fn clone(&self) -> ByteForgeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ByteForgeConfig
impl Debug for ByteForgeConfig
Auto Trait Implementations§
impl Freeze for ByteForgeConfig
impl RefUnwindSafe for ByteForgeConfig
impl Send for ByteForgeConfig
impl Sync for ByteForgeConfig
impl Unpin for ByteForgeConfig
impl UnwindSafe for ByteForgeConfig
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