Home
last modified time | relevance | path

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

/third_party/mindspore/tests/ut/cpp/optimizer/
Dclean_test.cc110 AbstractBasePtr abs_ptr = std::make_shared<AbstractClass>(Named("Point"), attr, methods); in TEST_F() local
111 node->set_abstract(abs_ptr); in TEST_F()
145 AbstractBasePtr abs_ptr = std::make_shared<AbstractClass>(Named("Point"), attr, methods); in TEST_F() local
146 auto cons_class = NewValueNode(abs_ptr->BuildValue()); in TEST_F()
147 cons_class->set_abstract(abs_ptr); in TEST_F()
154 apply11->set_abstract(abs_ptr); in TEST_F()
180 AbstractBasePtr abs_ptr = std::make_shared<AbstractClass>(Named("Point"), attr, methods); in TEST_F() local
181 auto cons_class = NewValueNode(abs_ptr->BuildValue()); in TEST_F()
182 cons_class->set_abstract(abs_ptr); in TEST_F()
193 apply00->set_abstract(abs_ptr); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc820 AbstractBasePtr abs_ptr = ToAbstract(value, AnalysisContext::DummyContext(), old_conf); in StaticGetterInferred() local
821 AbstractFunctionPtr abs_func = dyn_cast<abstract::AbstractFunction>(abs_ptr); in StaticGetterInferred()