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
languages
CNNTrainLang
Commits
f824022e
Commit
f824022e
authored
Aug 05, 2018
by
Svetlana Pavlitskaya
Browse files
Now correct value of context is generated.
parent
226d1816
Pipeline
#66617
passed with stages
in 2 minutes and 51 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnntrain/_symboltable/CNNTrainSymbolTableCreator.java
View file @
f824022e
...
...
@@ -161,7 +161,7 @@ public class CNNTrainSymbolTableCreator extends CNNTrainSymbolTableCreatorTOP {
value
.
setValue
(
Context
.
CPU
);
}
else
{
value
.
setValue
(
Context
.
C
PU
);
value
.
setValue
(
Context
.
G
PU
);
}
entry
.
setValue
(
value
);
addToScopeAndLinkWithNode
(
entry
,
node
);
...
...
src/test/resources/valid_tests/FullConfig.cnnt
View file @
f824022e
...
...
@@ -3,7 +3,7 @@ configuration FullConfig{
batch_size : 100
load_checkpoint : true
eval_metric : mse
context :
c
pu
context :
g
pu
normalize : true
optimizer : rmsprop{
learning_rate : 0.001
...
...
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