/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | evaluator.h | 52 virtual EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, 55 virtual EvalResultPtr Eval(AnalysisEnginePtr engine, const AbstractBasePtrList &args_spec_list, 57 virtual EvalResultPtr SingleRun(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, 66 virtual EvalResultPtr AbstractEval(const AbstractBasePtrList &args_spec_list) { in AbstractEval() 113 …EvalResultPtr Eval(AnalysisEnginePtr, const AbstractBasePtrList &, const AnfNodeConfigPtr &) final… in Eval() 123 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, 125 …virtual EvalResultPtr EvalPrim(const AnalysisEnginePtr &engine, const AbstractBasePtrList &args_sp… 133 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, 136 …virtual EvalResultPtr EvalPrim(const AnalysisEnginePtr &engine, const AbstractBasePtrList &args_sp… 145 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, [all …]
|
D | prim.h | 39 EvalResultPtr EvalPrim(const AnalysisEnginePtr &engine, const AbstractBasePtrList &args) override; 45 EvalResultPtr EvalPyCheckPrim(const AnalysisEnginePtr &engine, const AbstractBasePtrList &args); 46 EvalResultPtr RunPyInferValue(const AnalysisEnginePtr &engine, const AbstractBasePtr &abs_base, 60 EvalResultPtr EvalPrim(const AnalysisEnginePtr &engine, const AbstractBasePtrList &args) override; 73 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &argrefs, 76 …EvalResultPtr Eval(AnalysisEnginePtr, const AbstractBasePtrList &, const AnfNodeConfigPtr &) overr… in Eval() 88 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &argrefs, 91 …EvalResultPtr Eval(AnalysisEnginePtr, const AbstractBasePtrList &, const AnfNodeConfigPtr &) overr… in Eval() 104 EvalResultPtr Run(AnalysisEnginePtr engine, const ConfigPtrList &argrefs, 107 …EvalResultPtr Eval(AnalysisEnginePtr, const AbstractBasePtrList &, const AnfNodeConfigPtr &) overr… in Eval() [all …]
|
D | static_analysis.h | 76 using EvalResultPtr = std::shared_ptr<EvalResult>; variable 84 virtual EvalResultPtr ObtainEvalResult() = 0; 125 EvalResultPtr ObtainEvalResult() override; 181 EvalResultPtr ObtainEvalResult() override { in ObtainEvalResult() 194 EvalResultPtr inferred; 245 void SaveEvalResultInCache(const AnfNodeConfigPtr &conf, const EvalResultPtr &result); 246 EvalResultPtr ObtainEvalResultWithCache(const AnfNodeConfigPtr &conf); 253 EvalResultPtr EvalCNode(const CNodePtr &cnode, const AnfNodeConfigPtr &conf); 255 EvalResultPtr Execute(const AbstractFunctionPtr &fn, const AbstractBasePtrList &args_spec_list); 276 EvalResultPtr ForwardConfig(const AnfNodeConfigPtr &orig_conf, const AnfNodeConfigPtr new_conf); [all …]
|
D | evaluator.cc | 114 EvalResultPtr eval_result = nullptr; in LaunchStackFrame() 186 EvalResultPtr BaseFuncGraphEvaluator::Eval(AnalysisEnginePtr engine, const AbstractBasePtrList &arg… in Eval() 362 EvalResultPtr Evaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, in Run() 395 EvalResultPtr TrivialPrimEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_li… in Run() 414 EvalResultPtr TransitionPrimEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf… in Run() 425 EvalResultPtr res = EvalPrim(engine, args_spec_list, args_conf_list[0], out_conf); in Run() 430 EvalResultPtr SymbolicPrimEvaluator::Run(AnalysisEnginePtr, const ConfigPtrList &args_conf_list, in Run() 435 EvalResultPtr TrackedEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_list, in Run() 443 EvalResultPtr res = sub_evaluator_->Run(engine, args_conf_list, out_conf); in Run() 450 EvalResultPtr PartialAppEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_lis… in Run() [all …]
|
D | async_eval_result.h | 349 …std::unordered_map<AbstractBasePtrList, EvalResultPtr, AbstractBasePtrListHasher, AbstractBasePtrL… 350 using EvalResultCache = NormalCache<AbstractBasePtrList, EvalResultPtr, EvaluatorCacheMap>; 359 EvalResultPtr GetValue(const AbstractBasePtrList &key) { return eval_result_cache_.get(key); } in GetValue() 360 …void SetValue(const AbstractBasePtrList &key, const EvalResultPtr &arg) { eval_result_cache_.set(k… in SetValue() 371 std::unordered_map<AnfNodeConfigPtr, EvalResultPtr, AnfNodeConfigHasher, AnfNodeConfigEqual>; 372 …using AnalysisConfigResultCache = NormalCache<AnfNodeConfigPtr, EvalResultPtr, AnalysisConfigResul… 380 …inline void SetValue(const AnfNodeConfigPtr &conf, const EvalResultPtr &arg) { cache_.set(conf, ar… in SetValue() 381 inline EvalResultPtr GetValue(const AnfNodeConfigPtr &conf) { return cache_.get(conf); } in GetValue()
|
D | prim.cc | 53 EvalResultPtr DoSignatureEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_li… in Run() 142 EvalResultPtr UnpackGraphEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_conf_li… in Run() 256 EvalResultPtr MixedPrecisionCastEvaluator::Run(AnalysisEnginePtr engine, const ConfigPtrList &args_… in Run() 576 EvalResultPtr StandardPrimEvaluator::RunPyInferValue(const AnalysisEnginePtr &engine, const Abstrac… in RunPyInferValue() 611 EvalResultPtr StandardPrimEvaluator::EvalPyCheckPrim(const AnalysisEnginePtr &engine, const Abstrac… in EvalPyCheckPrim() 633 EvalResultPtr StandardPrimEvaluator::EvalPrim(const AnalysisEnginePtr &engine, const AbstractBasePt… in EvalPrim() 675 EvalResultPtr PythonPrimEvaluator::EvalPrim(const AnalysisEnginePtr &, const AbstractBasePtrList &a… in EvalPrim() 701 EvalResultPtr UniformPrimEvaluator::EvalPrim(const AnalysisEnginePtr &, const AbstractBasePtrList &… in EvalPrim() 816 EvalResultPtr StaticGetterInferred(const ValuePtr &value, const ConfigPtr &data_conf, const AnfNode… in StaticGetterInferred() 852 EvalResultPtr GetEvaluatedValueForNameSpaceString(const AnalysisEnginePtr &, const AbstractBasePtrL… in GetEvaluatedValueForNameSpaceString() [all …]
|
D | static_analysis.cc | 163 void AnalysisEngine::SaveEvalResultInCache(const AnfNodeConfigPtr &conf, const EvalResultPtr &resul… in SaveEvalResultInCache() 185 EvalResultPtr AnalysisEngine::ObtainEvalResultWithCache(const AnfNodeConfigPtr &conf) { in ObtainEvalResultWithCache() 203 EvalResultPtr AnalysisEngine::Eval(const AnfNodeConfigPtr &conf) { in Eval() 206 EvalResultPtr eval_result = nullptr; in Eval() 277 EvalResultPtr AnalysisEngine::EvalCNode(const CNodePtr &cnode, const AnfNodeConfigPtr &conf) { in EvalCNode() 313 EvalResultPtr AnalysisEngine::Execute(const AbstractFunctionPtr &func, const AbstractBasePtrList &a… in Execute() 552 EvalResultPtr AnalysisEngine::ForwardConfig(const AnfNodeConfigPtr &orig_conf, const AnfNodeConfigP… in ForwardConfig() 582 EvalResultPtr AnalysisEngine::ExecuteEvaluators(const std::vector<EvaluatorPtr> &evaluators, in ExecuteEvaluators() 711 EvalResultPtr AnalysisEngine::ProcessEvalResults(const AbstractBasePtrList &out_specs, const AnfNod… in ProcessEvalResults() 779 EvalResultPtr result; in ExecEvaluator() [all …]
|
D | stack_frame.cc | 138 EvalResultPtr StackFrame::Step(const AnalysisEnginePtr &engine) { in Step() 152 const EvalResultPtr &eval_result) { in Back() 157 EvalResultPtr result = eval_result; in Back()
|
D | stack_frame.h | 62 EvalResultPtr Step(const AnalysisEnginePtr &engine); 64 …nalysisEnginePtr &engine, const StackFramePtr &last_stack_frame, const EvalResultPtr &eval_result);
|
D | program_specialize.cc | 601 EvalResultPtr ret = nullptr; in BuildFromBroadedArgsVal()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/ |
D | ops_front_infer_function.cc | 305 EvalResultPtr engin_exc = engine->Execute(fn, subargs); in InferImplListMap()
|