Commit 7dab14b2 authored by Christian Fuß's avatar Christian Fuß

fixed bug leading to multiple equivalent architecture outputs for unrolls

parent f1fd8fcc
Pipeline #178365 failed with stages
in 3 minutes and 49 seconds
......@@ -176,6 +176,18 @@ public abstract class CNNArchTemplateController {
return list;
}
public List getNoDuplicateArchitectureOutputs(){
List<String> names = new ArrayList();
List<VariableSymbol> noDuplicates = new ArrayList();
for(VariableSymbol output: getArchitecture().getOutputs()){
if(!names.contains(getName(output))){
noDuplicates.add(output);
}
names.add(getName(output));
}
return noDuplicates;
}
public String getComponentName(){
return getArchitecture().getComponentName();
}
......
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