pub struct FlowStateConfig {Show 13 fields
pub context_length: u32,
pub decoder_dim: u32,
pub decoder_patch_len: u32,
pub decoder_type: String,
pub embedding_feature_dim: u32,
pub encoder_num_hippo_blocks: u32,
pub encoder_num_layers: u32,
pub encoder_state_dim: u32,
pub quantiles: Vec<f32>,
pub with_missing: bool,
pub use_freq: bool,
pub init_processing: bool,
pub min_context: u32,
}Expand description
Top-level FlowState config.json.
Fields§
§context_length: u32§decoder_dim: u32§decoder_patch_len: u32§decoder_type: String§embedding_feature_dim: u32§encoder_num_hippo_blocks: u32§encoder_num_layers: u32§encoder_state_dim: u32§quantiles: Vec<f32>§with_missing: bool§use_freq: bool§init_processing: bool§min_context: u32Implementations§
Trait Implementations§
Source§impl Clone for FlowStateConfig
impl Clone for FlowStateConfig
Source§fn clone(&self) -> FlowStateConfig
fn clone(&self) -> FlowStateConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowStateConfig
impl Debug for FlowStateConfig
Source§impl<'de> Deserialize<'de> for FlowStateConfig
impl<'de> Deserialize<'de> for FlowStateConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&FlowStateConfig> for InferConfig
FlowStateConfig already resolved every default (via serde) or failed to parse if a
genuinely required field was missing, so this mapping is infallible and needs no further
defaulting of its own.
impl From<&FlowStateConfig> for InferConfig
FlowStateConfig already resolved every default (via serde) or failed to parse if a
genuinely required field was missing, so this mapping is infallible and needs no further
defaulting of its own.
Source§fn from(c: &FlowStateConfig) -> Self
fn from(c: &FlowStateConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FlowStateConfig
impl RefUnwindSafe for FlowStateConfig
impl Send for FlowStateConfig
impl Sync for FlowStateConfig
impl Unpin for FlowStateConfig
impl UnsafeUnpin for FlowStateConfig
impl UnwindSafe for FlowStateConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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