Skip to content

Commit df1f62b

Browse files
committed
Merge pull request opencv#14225 from zuoshaobo:my3.4
2 parents 2f288f9 + a34c02a commit df1f62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dnn/src/tensorflow/tf_importer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ void TFImporter::populateNet(Net dstNet)
942942
if (getDataLayout(name, data_layouts) == DATA_LAYOUT_UNKNOWN)
943943
data_layouts[name] = DATA_LAYOUT_NHWC;
944944
}
945-
else if (type == "BiasAdd" || type == "Add" || type == "Sub")
945+
else if (type == "BiasAdd" || type == "Add" || type == "Sub" || type=="AddN")
946946
{
947947
bool haveConst = false;
948948
for(int ii = 0; !haveConst && ii < layer.input_size(); ++ii)

0 commit comments

Comments
 (0)