pub struct TimesFMModel { /* private fields */ }Expand description
TimesFM 2.5 200M’s architecture is fixed (see the module-level consts above) — there is no
config.json and hence no InferConfig/builder here, unlike every other model in the
workspace. TimesFMModel::load takes just the GGUF path.
Implementations§
Trait Implementations§
Source§impl Forecaster for TimesFMModel
impl Forecaster for TimesFMModel
Source§type Config = ()
type Config = ()
No config.json exists for this model — architecture is fixed at compile time.
Source§fn forecast(
&self,
context: &[Vec<f32>],
_mask: &[Vec<bool>],
horizon: usize,
) -> Result<QuantileMatrix>
fn forecast( &self, context: &[Vec<f32>], _mask: &[Vec<bool>], horizon: usize, ) -> Result<QuantileMatrix>
TimesFM’s forecast() is univariate-only and always treats the context as fully
observed; mask is unused.
fn load(gguf_path: &Path, _config: ()) -> Result<Self>
Auto Trait Implementations§
impl !Freeze for TimesFMModel
impl !RefUnwindSafe for TimesFMModel
impl !UnwindSafe for TimesFMModel
impl Send for TimesFMModel
impl Sync for TimesFMModel
impl Unpin for TimesFMModel
impl UnsafeUnpin for TimesFMModel
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,
§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