Searched refs:MS_CTX_ENABLE_PYNATIVE_INFER (Results 1 – 11 of 11) sorted by relevance
330 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpHideNopNode()338 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpRemoveNopNode()369 bool is_pynative_infer = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in UpdateDynamicShape()
77 set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in MsContext()
77 MS_CTX_ENABLE_PYNATIVE_INFER, enumerator
327 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in TensorNeedSync()823 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in BindAddressToTensor()1983 auto infer_flag = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in ExecuteAllTaskInQueue()1984 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, true); in ExecuteAllTaskInQueue()1998 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, infer_flag); in ExecuteAllTaskInQueue()
1627 ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in UpdateOutputs()2183 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in ConstructSingleOpGraph()2372 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpRemoveNopNode()2380 if (!ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in RunOpHideNopNode()
346 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in LoadInputData()
123 bool is_pynative_infer = ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in CreateDeviceAddressForTensorValue()
981 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER) && in AssignValueNodeTensor()1020 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in AssignStaticMemoryValueNode()1043 if (ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER) && in AssignStaticMemoryValueNode()
167 !ms_context->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER)) { in SyncStream()
1933 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, true); in RunOpInMs()1989 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in RunOpInMs()3193 ms_context->set_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER, false); in ClearRes()
463 bool is_enable_pynative_infer = context_ptr->get_param<bool>(MS_CTX_ENABLE_PYNATIVE_INFER); in Run()