Commit 68a7b28e authored by nilsfreyer's avatar nilsfreyer
Browse files

added String componentName for weightsharing

parent cf976dfa
...@@ -42,6 +42,7 @@ public class ArchitectureSymbol extends CommonScopeSpanningSymbol { ...@@ -42,6 +42,7 @@ public class ArchitectureSymbol extends CommonScopeSpanningSymbol {
private List<IOSymbol> outputs = new ArrayList<>(); private List<IOSymbol> outputs = new ArrayList<>();
private Map<String, IODeclarationSymbol> ioDeclarationMap = new HashMap<>(); private Map<String, IODeclarationSymbol> ioDeclarationMap = new HashMap<>();
private String dataPath; private String dataPath;
private String componentName;
public ArchitectureSymbol() { public ArchitectureSymbol() {
super("", KIND); super("", KIND);
...@@ -63,6 +64,14 @@ public class ArchitectureSymbol extends CommonScopeSpanningSymbol { ...@@ -63,6 +64,14 @@ public class ArchitectureSymbol extends CommonScopeSpanningSymbol {
this.dataPath = dataPath; this.dataPath = dataPath;
} }
public void setComponentName(String componentName){
this.componentName = componentName;
}
public String getComponentName(){
return this.componentName;
}
public List<IOSymbol> getInputs() { public List<IOSymbol> getInputs() {
return inputs; return inputs;
} }
......
Supports Markdown
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