Commit 17081c67 authored by Christian Fuß's avatar Christian Fuß

added getter for saveAttentionImage variable from CNNTrainLang

parent 8c800036
Pipeline #202180 failed with stages
in 17 seconds
......@@ -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;
......
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