Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2X
Commits
24cdb964
Commit
24cdb964
authored
Jul 07, 2021
by
lr119628
Browse files
[update]: added check for template controller if the architecture contains an AdaNet layer
parent
6eacaeef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/generator/CNNArchTemplateController.java
View file @
24cdb964
...
@@ -103,6 +103,10 @@ public abstract class CNNArchTemplateController {
...
@@ -103,6 +103,10 @@ public abstract class CNNArchTemplateController {
this
.
nameManager
=
new
LayerNameCreator
(
architecture
);
this
.
nameManager
=
new
LayerNameCreator
(
architecture
);
}
}
public
boolean
containsAdaNet
(){
return
this
.
architecture
.
containsAdaNet
();
}
public
String
getName
(
ArchitectureElementSymbol
layer
){
public
String
getName
(
ArchitectureElementSymbol
layer
){
return
nameManager
.
getName
(
layer
);
return
nameManager
.
getName
(
layer
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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