Home
last modified time | relevance | path

Searched refs:MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dprim_bprop_optimizer.cc235 …able_grad_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in GetOptBpropFromCache()
263 …able_grad_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in GenSpecOptBprop()
Dkpynative.cc93 …able_grad_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in GetZerosLike()
152 …able_grad_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in GetOnesLike()
/third_party/mindspore/mindspore/core/utils/
Dms_context.cc99 set_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, true); in MsContext()
Dms_context.h95 MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, enumerator
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc239 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpImpl()
Dgpu_session.cc656 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpImpl()
Dascend_session.cc807 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpImpl()
1172 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpsInGraph()
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc498 bool enable_cache = context_ptr->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in CompileGraph()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc1528 inst->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, is_enable); in EnableOpGraphCache()