Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Caffe2
Commits
2a9746a3
Commit
2a9746a3
authored
Jan 31, 2019
by
Yuyuan Liu
Browse files
little changes
parent
59c74918
Pipeline
#101764
failed with stages
in 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
settings.xml
View file @
2a9746a3
...
...
@@ -73,6 +73,14 @@
<profile>
<id>
se-nexus
</id>
<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>
<id>
central
</id>
<url>
http://central
</url>
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArchTemplateController.java
View file @
2a9746a3
...
...
@@ -86,6 +86,11 @@ public class CNNArchTemplateController {
return
getArchitecture
().
getEnclosingScope
().
getSpanningSymbol
().
get
().
getFullName
().
replaceAll
(
"\\."
,
"_"
);
}
public
String
getDataPath
(){
return
getArchitecture
().
getDataPath
();
}
public
List
<
String
>
getLayerInputs
(
ArchitectureElementSymbol
layer
){
List
<
String
>
inputNames
=
new
ArrayList
<>();
...
...
@@ -123,6 +128,11 @@ public class CNNArchTemplateController {
return
list
;
}
public
String
getComponentName
(){
return
getArchitecture
().
getComponentName
();
}
public
void
include
(
String
relativePath
,
String
templateWithoutFileEnding
,
Writer
writer
){
String
templatePath
=
relativePath
+
templateWithoutFileEnding
+
FTL_FILE_ENDING
;
Map
<
String
,
Object
>
ftlContext
=
new
HashMap
<>();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment