Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/core/abstract/
Dabstract_function.h233 class MS_CORE_API VirtualAbstractClosure : public AbstractFuncAtom {
238VirtualAbstractClosure(const AbstractBasePtrList &args_spec_list, const AbstractBasePtr &output_sp… in VirtualAbstractClosure() function
240 VirtualAbstractClosure(const AbstractBasePtr &args_spec, const AbstractBasePtr &output_spec) in VirtualAbstractClosure() function
242 ~VirtualAbstractClosure() override = default;
243 MS_DECLARE_PARENT(VirtualAbstractClosure, AbstractFuncAtom) in MS_DECLARE_PARENT() argument
249 return std::make_shared<VirtualAbstractClosure>(args_spec_list_, output_); in Copy()
260 using VirtualAbstractClosurePtr = std::shared_ptr<VirtualAbstractClosure>;
Dabstract_function.cc251 bool VirtualAbstractClosure::operator==(const AbstractFunction &other) const { in operator ==()
252 if (!other.isa<VirtualAbstractClosure>()) { in operator ==()
255 auto other_virtual = static_cast<const VirtualAbstractClosure *>(&other); in operator ==()
265 std::size_t VirtualAbstractClosure::hash() const { in hash()
272 std::string VirtualAbstractClosure::ToString() const { in ToString()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph_extends.cc36 using mindspore::abstract::VirtualAbstractClosure;
55 return std::make_shared<VirtualAbstractClosure>(args_spec_list, output()->abstract()); in abstract()
/third_party/mindspore/mindspore/ccsrc/debug/
Dtrace.cc271 if (i == 0 && op_abs->isa<abstract::VirtualAbstractClosure>()) { in ProcessFuncGraphCall()
272 auto func = dyn_cast<abstract::VirtualAbstractClosure>(op_abs); in ProcessFuncGraphCall()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dstatic_analysis.cc472 EvaluatorPtr AnalysisEngine::_GetEvaluatorFor(const std::shared_ptr<VirtualAbstractClosure> &func) { in _GetEvaluatorFor()
509 } else if (func->isa<VirtualAbstractClosure>()) { in _GetEvaluatorFor()
510 return _GetEvaluatorFor(func->cast<std::shared_ptr<VirtualAbstractClosure>>()); in _GetEvaluatorFor()
Dstatic_analysis.h267 EvaluatorPtr _GetEvaluatorFor(const std::shared_ptr<VirtualAbstractClosure> &fn);
Devaluator.cc509 … std::make_shared<VirtualAbstractClosure>(SensitivityTransform(result->abstract()), bparams_final); in Run()