Home
last modified time | relevance | path

Searched refs:args_spec_list_ (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/core/abstract/
Dabstract_function.cc213 if (args_spec_list_.size() != other_partial->args_spec_list_.size()) { in operator ==()
216 return args_spec_list_ == other_partial->args_spec_list_; in operator ==()
222 hash_value = hash_combine(hash_value, AbstractBasePtrListHash(args_spec_list_)); in hash()
229 for (const auto &arg : args_spec_list_) { in ToString()
259 if (args_spec_list_.size() != other_virtual->args_spec_list_.size()) { in operator ==()
262 return args_spec_list_ == other_virtual->args_spec_list_; in operator ==()
268 hash_value = hash_combine(hash_value, AbstractBasePtrListHash(args_spec_list_)); in hash()
276 for (const auto &arg : args_spec_list_) { in ToString()
297 if (args_spec_list_.size() != other_typed->args_spec_list_.size()) { in operator ==()
300 return args_spec_list_ == other_typed->args_spec_list_; in operator ==()
[all …]
Dabstract_function.h190 : fn_(fn), args_spec_list_(args_spec_list), node_(AnfNodePtr(node)) {} in fn_()
195 const AbstractBasePtrList &args() { return args_spec_list_; } in args()
200 return std::make_shared<PartialAbstractClosure>(fn_, args_spec_list_, node_.lock()); in Copy()
209 AbstractBasePtrList args_spec_list_; variable
239 : args_spec_list_(args_spec_list), output_(output_spec) {} in VirtualAbstractClosure()
241 : args_spec_list_({args_spec}), output_(output_spec) {} in VirtualAbstractClosure()
245 AbstractBasePtrList args_spec_list() { return args_spec_list_; } in MS_DECLARE_PARENT()
249 return std::make_shared<VirtualAbstractClosure>(args_spec_list_, output_); in Copy()
257 AbstractBasePtrList args_spec_list_;
269 : prim_(prim), args_spec_list_(args_spec_list), output_(output_spec) {} in TypedPrimitiveAbstractClosure()
[all …]
Danalysis_context.cc112 return parent_ == nullptr && func_graph_ == nullptr && args_spec_list_.empty(); in IsDummyContext()
123 if (args_spec_list_.size() != other.args_spec_list_.size()) { in operator ==()
139 for (std::size_t i = 0; i < args_spec_list_.size(); i++) { in operator ==()
140 if (!(*args_spec_list_[i] == *other.args_spec_list_[i])) { in operator ==()
159 …(void)std::transform(args_spec_list_.begin(), args_spec_list_.end(), std::back_inserter(args_broad… in SpecializeKey()
203 for (const auto &arg : args_spec_list_) { in ToString()
218 item->args_spec_list_.clear(); in ClearContext()
Danalysis_context.h41 : parent_(parent), func_graph_(fg), args_spec_list_(args_spec_list) { in AnalysisContext()
61 AbstractBasePtrList args_spec_list() { return args_spec_list_; } in args_spec_list()
69 AbstractBasePtrList args_spec_list_; variable
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Devaluator.h280 : Evaluator("PartialAppEvaluator"), evaluator_(evaluator), args_spec_list_(args) {} in PartialAppEvaluator()
307 AbstractBasePtrList args_spec_list_; variable
313 : Evaluator("virtual"), args_spec_list_(args_spec_list), output_(output) {} in VirtualEvaluator()
322 AbstractBasePtrList args_spec_list_;
Devaluator.cc466 …(void)std::transform(args_spec_list_.begin(), args_spec_list_.end(), std::back_inserter(partial_ar… in Run()
521 if (args_spec_list.size() != args_spec_list_.size()) { in Eval()
522 MS_LOG(EXCEPTION) << "Arguments mismatch, parameters no: " << args_spec_list_.size() in Eval()
528 (void)args_spec_list[i]->Join(args_spec_list_[i]); in Eval()