std::shared_ptr< const EvalContextMoECacheSharedModel > sharedMoECacheModel_
Shared native model used by all thread contexts.
Definition Evaluator.h:33
Evaluator(const std::string &modelPath, int numThreads, bool useGPU=false)
Constructs an Evaluator manager.
Definition Evaluator.cpp:17
std::unique_ptr< IEvaluator > createThreadContext()
Creates a lightweight thread context from the shared model.
Definition Evaluator.cpp:41
Contains the shared neural network weights.
Definition EvalContextMoECache.h:27