Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2X
Commits
a0f9a1e2
Commit
a0f9a1e2
authored
Jan 10, 2020
by
Sebastian N.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added dropout for RNNs
parent
66f536fa
Pipeline
#226526
failed with stages
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/main/java/de/monticore/lang/monticar/cnnarch/generator/ArchitectureElementData.java
...g/monticar/cnnarch/generator/ArchitectureElementData.java
+4
-0
No files found.
src/main/java/de/monticore/lang/monticar/cnnarch/generator/ArchitectureElementData.java
View file @
a0f9a1e2
...
...
@@ -167,6 +167,10 @@ public class ArchitectureElementData {
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
BIDIRECTIONAL_NAME
).
get
();
}
public
boolean
getDropout
()
{
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
RNN_DROPOUT_NAME
).
get
();
}
public
boolean
getFlatten
()
{
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
FLATTEN_PARAMETER_NAME
).
get
();
}
...
...
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