Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h619 class MS_CORE_API AbstractRefKey : public AbstractBase {
621AbstractRefKey() : AbstractBase(), ref_key_value_(nullptr) { set_type(std::make_shared<RefKeyType>… in AbstractRefKey() function
622 ~AbstractRefKey() override = default;
623 MS_DECLARE_PARENT(AbstractRefKey, AbstractBase) in MS_DECLARE_PARENT() argument
626 bool operator==(const AbstractRefKey &other) const;
629 auto cloned = std::make_shared<AbstractRefKey>(); in Clone()
647 using AbstractRefKeyPtr = std::shared_ptr<AbstractRefKey>;
Dabstract_value.cc952 if (ref_key && ref_key->isa<AbstractRefKey>()) { in AbstractRef()
976 AbstractBasePtr AbstractRefKey::Join(const AbstractBasePtr &other) { in Join()
989 auto ret = std::make_shared<AbstractRefKey>(); in Join()
1050 bool AbstractRefKey::operator==(const AbstractRefKey &other) const { in operator ==()
1069 bool AbstractRefKey::operator==(const AbstractBase &other) const { in operator ==()
1070 if (other.isa<AbstractRefKey>()) { in operator ==()
1071 auto other_confkey = static_cast<const AbstractRefKey *>(&other); in operator ==()
1078 std::string AbstractRefKey::ToString() const { in ToString()
/third_party/mindspore/tests/ut/cpp/ir/
Dvalue_test.cc82 abstract::AbstractRefKeyPtr ra = std::make_shared<abstract::AbstractRefKey>(); in TEST_F()
/third_party/mindspore/mindspore/core/ir/
Dvalue_extends.cc37 auto refkey = std::make_shared<abstract::AbstractRefKey>(); in ToAbstract()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dvalidator.cc120 …ptrBase->isa<AbstractSparseTensor>() || ptrBase->isa<abstract::AbstractRefKey>() || ptrBase->isa<A… in ValidateAbstract()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc465 …_base->isa<AbstractScalar>() || abs_base->isa<AbstractType>() || abs_base->isa<AbstractRefKey>()) { in ConvertAbstractToPython()