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
17081c67
Commit
17081c67
authored
Nov 05, 2019
by
Christian Fuß
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added getter for saveAttentionImage variable from CNNTrainLang
parent
8c800036
Pipeline
#202180
failed with stages
in 17 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/main/java/de/monticore/lang/monticar/cnnarch/generator/ConfigurationData.java
...re/lang/monticar/cnnarch/generator/ConfigurationData.java
+7
-0
No files found.
src/main/java/de/monticore/lang/monticar/cnnarch/generator/ConfigurationData.java
View file @
17081c67
...
...
@@ -121,6 +121,13 @@ public class ConfigurationData {
return
mapToStrings
;
}
public
Boolean
getSaveAttentionImage
()
{
if
(!
getConfiguration
().
getEntryMap
().
containsKey
(
"save_attention_image"
))
{
return
null
;
}
return
(
Boolean
)
getConfiguration
().
getEntry
(
"save_attention_image"
).
getValue
().
getValue
();
}
protected
Map
<
String
,
Object
>
getMultiParamEntry
(
final
String
key
,
final
String
valueName
)
{
if
(!
configurationContainsKey
(
key
))
{
return
null
;
...
...
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