Home
last modified time | relevance | path

Searched defs:stop_gradient (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/ut/python/pynative_mode/
Dtest_insert_grad_of.py37 def stop_gradient(dx): function
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/grad/
Dgrad_func.py1374 def stop_gradient(value): function
/third_party/mindspore/mindspore-src/source/mindspore/core/ir/
Danf.cc533 bool CNode::stop_gradient() const { return flags_[kStopGradient]; } in stop_gradient() function in mindspore::CNode
535 void CNode::set_stop_gradient(bool stop_gradient) { flags_[kStopGradient] = stop_gradient; } in set_stop_gradient()