Searched refs:AbstractType (Results 1 – 9 of 9) sorted by relevance
42 using mindspore::abstract::AbstractType;118 …ptrBase->isa<AbstractType>() || ptrBase->isa<AbstractFunction>() || ptrBase->isa<AbstractTuple>() … in ValidateAbstract()
22 auto ptr = std::make_shared<abstract::AbstractType>(shared_from_base<Type>()); in ToAbstract()
130 class MS_CORE_API AbstractType : public AbstractBase {132 explicit AbstractType(const TypePtr &type) : AbstractBase(type, kTypeType) { in AbstractType() function137 ~AbstractType() override = default;138 MS_DECLARE_PARENT(AbstractType, AbstractBase)147 using AbstractTypePtr = std::shared_ptr<AbstractType>;
191 AbstractBasePtr AbstractType::Clone() const { in Clone()197 return std::make_shared<AbstractType>(type_self->Clone()); in Clone()200 bool AbstractType::operator==(const AbstractBase &other) const { in operator ==()220 std::string AbstractType::ToString() const { in ToString()
518 auto type_abs = CheckArg<AbstractType>(op_name, args_spec_list, 1); in InferImplCast()
47 …static std::shared_ptr<AbstractType> TypeToAbstract(TypePtr t) { return std::make_shared<AbstractT… in TypeToAbstract()
179 return std::make_shared<AbstractType>(type); in InferImplTypeof()187 AbstractTypePtr abs_type = CheckArg<AbstractType>(op_name, args_spec_list, 1); in InferImplHasType()
642 …abstract::AbstractTypePtr abs_type = std::make_shared<abstract::AbstractType>(std::make_shared<Typ… in ObtainValueNodeInTypeForm()
465 …} else if (abs_base->isa<AbstractScalar>() || abs_base->isa<AbstractType>() || abs_base->isa<Abstr… in ConvertAbstractToPython()