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
languages
CNNTrainLang
Commits
da9abe42
Commit
da9abe42
authored
Jan 23, 2021
by
Luis Rickert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] added ada net flag to lang
parent
fb1cdca0
Pipeline
#396303
passed with stage
in 3 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
+5
-2
No files found.
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
View file @
da9abe42
...
...
@@ -27,7 +27,10 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
ComponentNameValue
implements
ConfigValue
=
Name
(
"."
Name
)*;
DoubleVectorValue
implements
ConfigValue
=
"("
number
:
NumberWithUnit
(
","
number
:
NumberWithUnit
)*
")"
;
IntegerListValue
implements
ConfigValue
=
"["
number
:
NumberWithUnit
(
","
number
:
NumberWithUnit
)*
"]"
;
AdaNetBlock
implements
ConfigEntry
=
name
:
"adanet"
":"
value
:
StringValue
;
NumEpochEntry
implements
ConfigEntry
=
name
:
"num_epoch"
":"
value
:
IntegerValue
;
BatchSizeEntry
implements
ConfigEntry
=
name
:
"batch_size"
":"
value
:
IntegerValue
;
LoadCheckpointEntry
implements
ConfigEntry
=
name
:
"load_checkpoint"
":"
value
:
BooleanValue
;
...
...
@@ -320,4 +323,4 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
ConstraintLossEntry
implements
MultiParamValueMapConfigEntry
=
name
:
"constraint_losses"
":"
value
:
ConstraintLossValue
;
ConstraintLossValue
implements
MultiParamValueMapParamValue
=
(
"{"
params
:
ConstraintLossParam
*
"}"
)?;
ConstraintLossParam
implements
MultiParamValueMapTupleValue
=
name
:
StringValue
":"
multiParamValue
:
LossValue
;
}
\ No newline at end of file
}
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