pub struct ChronosInnerConfig {
pub context_length: u32,
pub input_patch_size: u32,
pub output_patch_size: u32,
pub input_patch_stride: u32,
pub quantiles: Vec<f32>,
pub use_reg_token: bool,
pub use_arcsinh: bool,
pub max_output_patches: u32,
pub time_encoding_scale: Option<u32>,
}Expand description
Nested chronos_config dict inside config.json.
Fields§
§context_length: u32§input_patch_size: u32§output_patch_size: u32§input_patch_stride: u32§quantiles: Vec<f32>§use_reg_token: bool§use_arcsinh: bool§max_output_patches: u32§time_encoding_scale: Option<u32>Trait Implementations§
Source§impl Debug for ChronosInnerConfig
impl Debug for ChronosInnerConfig
Source§impl<'de> Deserialize<'de> for ChronosInnerConfig
impl<'de> Deserialize<'de> for ChronosInnerConfig
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
Auto Trait Implementations§
impl Freeze for ChronosInnerConfig
impl RefUnwindSafe for ChronosInnerConfig
impl Send for ChronosInnerConfig
impl Sync for ChronosInnerConfig
impl Unpin for ChronosInnerConfig
impl UnsafeUnpin for ChronosInnerConfig
impl UnwindSafe for ChronosInnerConfig
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> 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