Home
last modified time | relevance | path

Searched refs:AbstractKeywordArg (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.cc1149 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 …]
Dabstract_value.h237 class MS_CORE_API AbstractKeywordArg : public AbstractBase {
239AbstractKeywordArg(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>;
Dprim_structures.cc78 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/
Dvalue_extends.cc75 return std::make_shared<abstract::AbstractKeywordArg>(key_, argument); in ToAbstract()
Dfunc_graph.h95 class AbstractKeywordArg; variable
96 using AbstractKeywordArgPtr = std::shared_ptr<AbstractKeywordArg>;
Dfunc_graph_extends.cc239 if (args_spec_list[i]->isa<abstract::AbstractKeywordArg>()) { in GenerateGraph()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dunpack_call.cc36 using mindspore::abstract::AbstractKeywordArg;
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc130 …[](const AbstractAttribute &item) { return std::make_shared<AbstractKeywordArg>(item.first, item.s… in GetUnpackGraphSpecArgsList()
245 } else if (node_type->isa<AbstractKeywordArg>()) { in MixedPrecisionCastHelper()