From 4d1f43053c477868154d72fe21d6ad8ef56de6ca Mon Sep 17 00:00:00 2001 From: wxl Date: Mon, 18 Jan 2021 15:50:59 +0800 Subject: [PATCH] infershape paralelly --- ge/hybrid/executor/worker/shape_inference_engine.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/ge/hybrid/executor/worker/shape_inference_engine.cc b/ge/hybrid/executor/worker/shape_inference_engine.cc index 56ae3ea3..46ee6bd6 100755 --- a/ge/hybrid/executor/worker/shape_inference_engine.cc +++ b/ge/hybrid/executor/worker/shape_inference_engine.cc @@ -68,7 +68,6 @@ Status ShapeInferenceEngine::InferShape(NodeState &node_state) { // Do shape inference GELOGD("[%s] Start to invoke InferShapeAndType", node_item.NodeName().c_str()); { - std::lock_guard lk(mu_); RECORD_SHAPE_INFERENCE_EVENT(execution_context_, node_item.NodeName().c_str(), "[InferShapeAndType] Start"); GE_CHK_STATUS_RET(ShapeRefiner::InferShapeAndTypeForRunning(node_item.node, true), "Invoke InferShapeAndType failed.");