Searched refs:VirtualAbstractClosure (Results 1 – 7 of 7) sorted by relevance
233 class MS_CORE_API VirtualAbstractClosure : public AbstractFuncAtom {238 …VirtualAbstractClosure(const AbstractBasePtrList &args_spec_list, const AbstractBasePtr &output_sp… in VirtualAbstractClosure() function240 VirtualAbstractClosure(const AbstractBasePtr &args_spec, const AbstractBasePtr &output_spec) in VirtualAbstractClosure() function242 ~VirtualAbstractClosure() override = default;243 MS_DECLARE_PARENT(VirtualAbstractClosure, AbstractFuncAtom) in MS_DECLARE_PARENT() argument249 return std::make_shared<VirtualAbstractClosure>(args_spec_list_, output_); in Copy()260 using VirtualAbstractClosurePtr = std::shared_ptr<VirtualAbstractClosure>;
251 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()
36 using mindspore::abstract::VirtualAbstractClosure;55 return std::make_shared<VirtualAbstractClosure>(args_spec_list, output()->abstract()); in abstract()
271 if (i == 0 && op_abs->isa<abstract::VirtualAbstractClosure>()) { in ProcessFuncGraphCall()272 auto func = dyn_cast<abstract::VirtualAbstractClosure>(op_abs); in ProcessFuncGraphCall()
472 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()
267 EvaluatorPtr _GetEvaluatorFor(const std::shared_ptr<VirtualAbstractClosure> &fn);
509 … std::make_shared<VirtualAbstractClosure>(SensitivityTransform(result->abstract()), bparams_final); in Run()