Home
last modified time | relevance | path

Searched refs:AbstractType (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dvalidator.cc42 using mindspore::abstract::AbstractType;
118 …ptrBase->isa<AbstractType>() || ptrBase->isa<AbstractFunction>() || ptrBase->isa<AbstractTuple>() … in ValidateAbstract()
/third_party/mindspore/mindspore/core/ir/dtype/
Dtype_extends.cc22 auto ptr = std::make_shared<abstract::AbstractType>(shared_from_base<Type>()); in ToAbstract()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h130 class MS_CORE_API AbstractType : public AbstractBase {
132 explicit AbstractType(const TypePtr &type) : AbstractBase(type, kTypeType) { in AbstractType() function
137 ~AbstractType() override = default;
138 MS_DECLARE_PARENT(AbstractType, AbstractBase)
147 using AbstractTypePtr = std::shared_ptr<AbstractType>;
Dabstract_value.cc191 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()
Dprim_others.cc518 auto type_abs = CheckArg<AbstractType>(op_name, args_spec_list, 1); in InferImplCast()
/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/
Dprim_test.cc47 …static std::shared_ptr<AbstractType> TypeToAbstract(TypePtr t) { return std::make_shared<AbstractT… in TypeToAbstract()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dops_front_infer_function.cc179 return std::make_shared<AbstractType>(type); in InferImplTypeof()
187 AbstractTypePtr abs_type = CheckArg<AbstractType>(op_name, args_spec_list, 1); in InferImplHasType()
/third_party/mindspore/mindspore/core/load_mindir/
Danf_model_parser.cc642 …abstract::AbstractTypePtr abs_type = std::make_shared<abstract::AbstractType>(std::make_shared<Typ… in ObtainValueNodeInTypeForm()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc465 …} else if (abs_base->isa<AbstractScalar>() || abs_base->isa<AbstractType>() || abs_base->isa<Abstr… in ConvertAbstractToPython()