Commit 2a9746a3 authored by Yuyuan Liu's avatar Yuyuan Liu

little changes

parent 59c74918
Pipeline #101764 failed with stages
in 30 seconds
...@@ -73,6 +73,14 @@ ...@@ -73,6 +73,14 @@
<profile> <profile>
<id>se-nexus</id> <id>se-nexus</id>
<repositories> <repositories>
<repository>
<id>local-maven-repo</id>
<url>file:///home/eisberg/Documents/SPP/local-maven-repo</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository> <repository>
<id>central</id> <id>central</id>
<url>http://central</url> <url>http://central</url>
......
...@@ -86,6 +86,11 @@ public class CNNArchTemplateController { ...@@ -86,6 +86,11 @@ public class CNNArchTemplateController {
return getArchitecture().getEnclosingScope().getSpanningSymbol().get().getFullName().replaceAll("\\.","_"); return getArchitecture().getEnclosingScope().getSpanningSymbol().get().getFullName().replaceAll("\\.","_");
} }
public String getDataPath(){
return getArchitecture().getDataPath();
}
public List<String> getLayerInputs(ArchitectureElementSymbol layer){ public List<String> getLayerInputs(ArchitectureElementSymbol layer){
List<String> inputNames = new ArrayList<>(); List<String> inputNames = new ArrayList<>();
...@@ -123,6 +128,11 @@ public class CNNArchTemplateController { ...@@ -123,6 +128,11 @@ public class CNNArchTemplateController {
return list; return list;
} }
public String getComponentName(){
return getArchitecture().getComponentName();
}
public void include(String relativePath, String templateWithoutFileEnding, Writer writer){ public void include(String relativePath, String templateWithoutFileEnding, Writer writer){
String templatePath = relativePath + templateWithoutFileEnding + FTL_FILE_ENDING; String templatePath = relativePath + templateWithoutFileEnding + FTL_FILE_ENDING;
Map<String, Object> ftlContext = new HashMap<>(); Map<String, Object> ftlContext = new HashMap<>();
......
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