Commit da9abe42 authored by Luis Rickert's avatar Luis Rickert
Browse files

[update] added ada net flag to lang

parent fb1cdca0
Pipeline #396303 passed with stage
in 3 minutes and 14 seconds
......@@ -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
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment