We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f288f9 + a34c02a commit df1f62bCopy full SHA for df1f62b
modules/dnn/src/tensorflow/tf_importer.cpp
@@ -942,7 +942,7 @@ void TFImporter::populateNet(Net dstNet)
942
if (getDataLayout(name, data_layouts) == DATA_LAYOUT_UNKNOWN)
943
data_layouts[name] = DATA_LAYOUT_NHWC;
944
}
945
- else if (type == "BiasAdd" || type == "Add" || type == "Sub")
+ else if (type == "BiasAdd" || type == "Add" || type == "Sub" || type=="AddN")
946
{
947
bool haveConst = false;
948
for(int ii = 0; !haveConst && ii < layer.input_size(); ++ii)
0 commit comments