From 9c0009675b6d26431be4c5bf1c9547c48bb12ff9 Mon Sep 17 00:00:00 2001 From: r00516886 Date: Tue, 13 Dec 2022 11:31:12 +0800 Subject: [PATCH] modify for facenet --- register/auto_mapping_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register/auto_mapping_util.cpp b/register/auto_mapping_util.cpp index af3c8e1dae..b58d52b9ec 100644 --- a/register/auto_mapping_util.cpp +++ b/register/auto_mapping_util.cpp @@ -46,7 +46,7 @@ void AutoMappingUtil::ConvertShape(const domi::tensorflow::TensorShapeProto &sha shape_dims.push_back(dim.size()); } } else { - shape_dims = ge::UNKNOWN_SHAPE; + shape_dims = ge::UNKNOWN_RANK; } } -- Gitee