Home
last modified time | relevance | path

Searched refs:is_const_prim (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dprimitive.h121 void set_const_prim(bool is_const_prim) { is_const_prim_ = is_const_prim; } in set_const_prim() argument
122 bool is_const_prim() const { return is_const_prim_; } in is_const_prim() function
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dprim_bprop_optimizer.cc348 bool is_const_prim = prim->is_const_prim(); in ArgsToAbs() local
354 if (!is_const_prim && !is_const_input) { in ArgsToAbs()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dprimitive_py.cc457 void PrimitivePyAdapter::set_const_prim(bool is_const_prim) { in set_const_prim() argument
458 is_const_prim_ = is_const_prim; in set_const_prim()
461 prim->set_const_prim(is_const_prim); in set_const_prim()
Dprimitive_py.h97 void set_const_prim(bool is_const_prim);
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc981 bool is_const_prim = prim->is_const_prim(); in GetInputsArgsSpec() local
983 << prim->is_const_prim(); in GetInputsArgsSpec()
986 if (abs == nullptr || is_const_prim || is_const_input) { in GetInputsArgsSpec()
988 if (!is_const_prim && !is_const_input) { in GetInputsArgsSpec()
1093 if (prim->is_const_prim()) { in GetOpOutput()