Commit 205ad921 authored by lr119628's avatar lr119628
Browse files

[update]: fix naming for default block skipped

parent 60957471
Pipeline #524932 passed with stage
in 1 minute and 52 seconds
......@@ -65,7 +65,7 @@ public class LayerNameCreator {
Optional<ArchitectureElementSymbol> currentBlock = ((AdaNet) ((LayerSymbol) subElement).getDeclaration()).getBlock(target);
if(currentBlock.isPresent()) {
if (currentBlock.get().isArtificial()) {
if (currentBlock.get().isArtificial() || target.equals(AllPredefinedLayers.Block)) {
boolean oldState = currentBlock.get().containsAdaNet();
currentBlock.get().setAdaNet(true);
endStage = name(currentBlock.get(), 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