Searched refs:async_eval_result (Results 1 – 1 of 1) sorted by relevance
180 AsyncAbstractPtr async_eval_result = switch_cache_.get(conf); in InitSwitchValue() local181 if (async_eval_result == nullptr) { in InitSwitchValue()182 async_eval_result = std::make_shared<AsyncAbstract>(); in InitSwitchValue()183 switch_cache_.set(conf, async_eval_result); in InitSwitchValue()189 AsyncAbstractPtr async_eval_result = switch_cache_.get(conf); in TryGetSwitchValue() local191 if (async_eval_result != nullptr) { in TryGetSwitchValue()192 return async_eval_result->TryGetResult(); in TryGetSwitchValue()200 AsyncAbstractPtr async_eval_result = switch_cache_.get(conf); in GetSwitchValue() local202 if (async_eval_result != nullptr) { in GetSwitchValue()204 auto async_infer_task = AsyncInferTask::MakeShared(async_eval_result); in GetSwitchValue()[all …]