mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
AddV2 from TensorFlow
This commit is contained in:
committed by
Alexander Alekhin
parent
010cc2e58a
commit
5b5c2093bb
@@ -1000,7 +1000,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" || type=="AddN")
|
||||
else if (type == "BiasAdd" || type == "Add" || type == "AddV2" || type == "Sub" || type=="AddN")
|
||||
{
|
||||
bool haveConst = false;
|
||||
for(int ii = 0; !haveConst && ii < layer.input_size(); ++ii)
|
||||
|
||||
Reference in New Issue
Block a user