Searched refs:MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE (Results 1 – 9 of 9) sorted by relevance
235 …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()
93 …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()
99 set_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, true); in MsContext()
95 MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, enumerator
239 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpImpl()
656 …_op_graph_cache = MsContext::GetInstance()->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in BuildOpImpl()
807 …_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()
498 bool enable_cache = context_ptr->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE); in CompileGraph()
1528 inst->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_OP_GRAPH_CACHE, is_enable); in EnableOpGraphCache()