Searched refs:AbstractKeywordArg (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/core/abstract/ |
D | abstract_value.cc | 1149 TypePtr AbstractKeywordArg::BuildType() const { in BuildType() 1155 AbstractBasePtr AbstractKeywordArg::Clone() const { in Clone() 1157 return std::make_shared<AbstractKeywordArg>(arg_name_, arg_value_->Clone()); in Clone() 1160 AbstractBasePtr AbstractKeywordArg::Broaden() const { in Broaden() 1162 return std::make_shared<AbstractKeywordArg>(arg_name_, arg_value_->Broaden()); in Broaden() 1165 std::size_t AbstractKeywordArg::hash() const { in hash() 1170 std::string AbstractKeywordArg::ToString() const { in ToString() 1180 bool AbstractKeywordArg::operator==(const AbstractBase &other) const { in operator ==() 1185 if (other.isa<AbstractKeywordArg>()) { in operator ==() 1186 auto other_tuple = static_cast<const AbstractKeywordArg *>(&other); in operator ==() [all …]
|
D | abstract_value.h | 237 class MS_CORE_API AbstractKeywordArg : public AbstractBase { 239 …AbstractKeywordArg(const std::string &key, const AbstractBasePtr &argument) : arg_name_(key), arg_… in AbstractKeywordArg() function 240 ~AbstractKeywordArg() override = default; 241 MS_DECLARE_PARENT(AbstractKeywordArg, AbstractBase) 248 bool operator==(const AbstractKeywordArg &other) const; 262 using AbstractKeywordArgPtr = std::shared_ptr<AbstractKeywordArg>;
|
D | prim_structures.cc | 78 return std::make_shared<AbstractKeywordArg>(key_string, args_spec_list[1]); in InferImplMakeKwarg() 87 AbstractKeywordArgPtr kwarg = CheckArg<AbstractKeywordArg>(op_name, args_spec_list, 1); in InferImplExtractKwarg()
|
/third_party/mindspore/mindspore/core/ir/ |
D | value_extends.cc | 75 return std::make_shared<abstract::AbstractKeywordArg>(key_, argument); in ToAbstract()
|
D | func_graph.h | 95 class AbstractKeywordArg; variable 96 using AbstractKeywordArgPtr = std::shared_ptr<AbstractKeywordArg>;
|
D | func_graph_extends.cc | 239 if (args_spec_list[i]->isa<abstract::AbstractKeywordArg>()) { in GenerateGraph()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/ |
D | unpack_call.cc | 36 using mindspore::abstract::AbstractKeywordArg;
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | prim.cc | 130 …[](const AbstractAttribute &item) { return std::make_shared<AbstractKeywordArg>(item.first, item.s… in GetUnpackGraphSpecArgsList() 245 } else if (node_type->isa<AbstractKeywordArg>()) { in MixedPrecisionCastHelper()
|