Home
last modified time | relevance | path

Searched refs:AbstractNull (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dnamed.cc32 abstract::AbstractBasePtr Null::ToAbstract() { return std::make_shared<abstract::AbstractNull>(); } in ToAbstract()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h576 class MS_CORE_API AbstractNull : public AbstractBase {
578 AbstractNull() : AbstractBase(kNull) { set_type(std::make_shared<TypeNull>()); } in AbstractNull() function
579 ~AbstractNull() override = default;
580 MS_DECLARE_PARENT(AbstractNull, AbstractBase) in MS_DECLARE_PARENT() argument
583 bool operator==(const AbstractNull &other) const;
585 AbstractBasePtr Clone() const override { return std::make_shared<AbstractNull>(); } in Clone()
588 using AbstractNullPtr = std::shared_ptr<AbstractNull>;
Dabstract_value.cc1088 bool AbstractNull::operator==(const AbstractNull &) const { return true; } in operator ==()
1090 bool AbstractNull::operator==(const AbstractBase &other) const { in operator ==()
1094 if (other.isa<AbstractNull>()) { in operator ==()
1095 auto other_none = static_cast<const AbstractNull *>(&other); in operator ==()
1102 std::string AbstractNull::ToString() const { in ToString()