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
ea6ea14b
Commit
ea6ea14b
authored
Mar 04, 2021
by
Luis Rickert
Committed by
lr119628
Aug 09, 2021
Browse files
[added]: added check if previous layer is artificial, if yes its name is passed
parent
372d3d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/generator/CNNArchTemplateController.java
View file @
ea6ea14b
...
...
@@ -127,6 +127,9 @@ public abstract class CNNArchTemplateController {
List
<
String
>
inputNames
=
new
ArrayList
<>();
for
(
ArchitectureElementSymbol
input
:
layer
.
getPrevious
())
{
if
(
input
.
isArtificial
()){
inputNames
.
add
(
getName
(
input
));
}
else
if
(
input
.
getOutputTypes
().
size
()
==
1
)
{
inputNames
.
add
(
getName
(
input
));
}
else
{
...
...
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