Searched refs:AbstractDictionary (Results 1 – 11 of 11) sorted by relevance
/third_party/mindspore/mindspore/core/abstract/ |
D | prim_structures.cc | 62 return std::make_shared<AbstractDictionary>(key_value); in InferImplMakeDict() 242 AbstractDictionaryPtr dict = CheckArg<AbstractDictionary>(op_name, args_spec_list, 0); in InferImplDictGetItem() 265 AbstractDictionaryPtr dict = CheckArg<AbstractDictionary>(op_name, args_spec_list, 0); in InferImplDictSetItem() 286 return std::make_shared<AbstractDictionary>(dict_elems); in InferImplDictSetItem() 294 AbstractDictionaryPtr dict = CheckArg<AbstractDictionary>(op_name, args_spec_list, 0); in InferImplDictGetKeys() 307 AbstractDictionaryPtr dict = CheckArg<AbstractDictionary>(op_name, args_spec_list, 0); in InferImplDictGetValues()
|
D | abstract_value.cc | 668 TypePtr AbstractDictionary::BuildType() const { in BuildType() 678 bool AbstractDictionary::operator==(const AbstractDictionary &other) const { in operator ==() 696 bool AbstractDictionary::operator==(const AbstractBase &other) const { in operator ==() 700 if (other.isa<AbstractDictionary>()) { in operator ==() 701 auto other_class = static_cast<const AbstractDictionary *>(&other); in operator ==() 707 AbstractBasePtr AbstractDictionary::Clone() const { in Clone() 714 return std::make_shared<AbstractDictionary>(kv); in Clone() 717 AbstractBasePtr AbstractDictionary::Broaden() const { in Broaden() 724 return std::make_shared<AbstractDictionary>(kv); in Broaden() 727 std::string AbstractDictionary::ToString() const { in ToString() [all …]
|
D | abstract_value.h | 484 class MS_CORE_API AbstractDictionary : public AbstractBase { 486 …explicit AbstractDictionary(const std::vector<AbstractAttribute> &key_values) : key_values_(key_va… in AbstractDictionary() function 487 ~AbstractDictionary() override = default; 488 MS_DECLARE_PARENT(AbstractDictionary, AbstractBase) 491 bool operator==(const AbstractDictionary &other) const; 505 using AbstractDictionaryPtr = std::shared_ptr<AbstractDictionary>;
|
D | prim_statement.cc | 163 auto dict = CheckArg<AbstractDictionary>(op_name, args_spec_list, 1); in IsInDict()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/ |
D | unpack_call.cc | 33 using mindspore::abstract::AbstractDictionary; 76 } else if (args_spec_list[index]->isa<AbstractDictionary>()) { in GenerateFuncGraph()
|
D | composite.cc | 49 using mindspore::abstract::AbstractDictionary;
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | clean.cc | 32 using mindspore::abstract::AbstractDictionary; 60 if (t->isa<AbstractDictionary>()) { in Reabs() 61 auto abs_dict = dyn_cast<AbstractDictionary>(t); in Reabs() 161 if (!dt->isa<abstract::AbstractDictionary>()) { in ConvertDictGetItemToTupleGetItem() 167 auto ct = dyn_cast<abstract::AbstractDictionary>(dt); in ConvertDictGetItemToTupleGetItem() 203 if (!dt->isa<abstract::AbstractDictionary>()) { in ConvertDictSetItemToTupleSetItem() 209 auto ct = dyn_cast<abstract::AbstractDictionary>(dt); in ConvertDictSetItemToTupleSetItem()
|
/third_party/mindspore/mindspore/core/ir/ |
D | value_extends.cc | 83 return std::make_shared<abstract::AbstractDictionary>(kv); in ToAbstract()
|
/third_party/mindspore/tests/ut/cpp/operator/ |
D | composite_test.cc | 264 …abstract::AbstractDictionaryPtr tensor_dict = std::make_shared<abstract::AbstractDictionary>(tenso… in TEST_F() 291 …abstract::AbstractDictionaryPtr tensor_dict = std::make_shared<abstract::AbstractDictionary>(tenso… in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | prim.cc | 125 } else if (specialize_args_before_unpack[index]->isa<AbstractDictionary>()) { in GetUnpackGraphSpecArgsList() 229 } else if (node_type->isa<AbstractDictionary>()) { in MixedPrecisionCastHelper() 1317 auto global_dict = dyn_cast<AbstractDictionary>(args_spec_list[1]); // Global parameters dict. in MakeParameters() 1326 auto local_dict = dyn_cast<AbstractDictionary>(args_spec_list[2]); // Local parameters dict. in MakeParameters()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/ |
D | ops_front_infer_function.cc | 587 return InferTupleOrListOrDictLen<AbstractDictionary>(primitive->name(), args_spec_list); in InferImplDictLen()
|