Commit dbb3d28e authored by lr119628's avatar lr119628
Browse files

[update]: added isPresent() check in nameAdaNetBlock in LayerNameCreator

parent 4e488274
...@@ -80,6 +80,7 @@ public class LayerNameCreator { ...@@ -80,6 +80,7 @@ public class LayerNameCreator {
endStage = name(subElement, endStage, streamIndices); endStage = name(subElement, endStage, streamIndices);
} else if (subElement.getName().equals(AllPredefinedLayers.AdaNet_Name)) { } else if (subElement.getName().equals(AllPredefinedLayers.AdaNet_Name)) {
// name outBlock // name outBlock
endStage = nameAdaNetBlock(AllPredefinedLayers.Out,subElement,endStage,streamIndices); endStage = nameAdaNetBlock(AllPredefinedLayers.Out,subElement,endStage,streamIndices);
// name inBlock // name inBlock
endStage = nameAdaNetBlock(AllPredefinedLayers.In,subElement,endStage,streamIndices); endStage = nameAdaNetBlock(AllPredefinedLayers.In,subElement,endStage,streamIndices);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment