Home
last modified time | relevance | path

Searched refs:async_eval_result (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dasync_eval_result.cc180 AsyncAbstractPtr async_eval_result = switch_cache_.get(conf); in InitSwitchValue() local
181 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() local
191 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() local
202 if (async_eval_result != nullptr) { in GetSwitchValue()
204 auto async_infer_task = AsyncInferTask::MakeShared(async_eval_result); in GetSwitchValue()
[all …]