Commit eb7c5ab1 authored by Christian Fuß's avatar Christian Fuß

added getter Methode for use_teacher_forcing flag from CNNTrain

parent 6265a562
Pipeline #207387 failed with stages
in 49 seconds
......@@ -128,6 +128,13 @@ public class ConfigurationData {
return (Boolean) getConfiguration().getEntry("save_attention_image").getValue().getValue();
public Boolean getUseTeacherForcing() {
if (!getConfiguration().getEntryMap().containsKey("use_teacher_forcing")) {
return null;
return (Boolean) getConfiguration().getEntry("use_teacher_forcing").getValue().getValue();
protected Map<String, Object> getMultiParamEntry(final String key, final String valueName) {
if (!configurationContainsKey(key)) {
return null;
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