mirror of
https://github.com/opencv/opencv.git
synced 2025-07-22 20:39:41 +08:00
Merge pull request #14225 from zuoshaobo:my3.4
This commit is contained in:
commit
df1f62b34c
@ -942,7 +942,7 @@ void TFImporter::populateNet(Net dstNet)
|
||||
if (getDataLayout(name, data_layouts) == DATA_LAYOUT_UNKNOWN)
|
||||
data_layouts[name] = DATA_LAYOUT_NHWC;
|
||||
}
|
||||
else if (type == "BiasAdd" || type == "Add" || type == "Sub")
|
||||
else if (type == "BiasAdd" || type == "Add" || type == "Sub" || type=="AddN")
|
||||
{
|
||||
bool haveConst = false;
|
||||
for(int ii = 0; !haveConst && ii < layer.input_size(); ++ii)
|
||||
|
Loading…
Reference in New Issue
Block a user