Commit 8190a3b7 authored by Julian Dierkes's avatar Julian Dierkes

added preprocessing

parent 89c82a29
......@@ -19,7 +19,7 @@
<CNNArch.version>0.3.3-SNAPSHOT</CNNArch.version>
<CNNTrain.version>0.3.8-SNAPSHOT</CNNTrain.version>
<embedded-montiarc-math-opt-generator>0.1.4</embedded-montiarc-math-opt-generator>
<embedded-montiarc-math-opt-generator>0.1.5</embedded-montiarc-math-opt-generator>
<!-- .. Libraries .................................................. -->
<guava.version>18.0</guava.version>
......
......@@ -171,10 +171,6 @@ public class ArchitectureElementData {
return getLayerSymbol().getBooleanValue(AllPredefinedLayers.FLATTEN_PARAMETER_NAME).get();
}
public List<Integer> getShape() {
return getLayerSymbol().getIntTupleValue(AllPredefinedLayers.SHAPE_NAME).get();
}
@Nullable
public String getPoolType(){
return getLayerSymbol().getStringValue(AllPredefinedLayers.POOL_TYPE_NAME).get();
......
......@@ -55,6 +55,13 @@ public class ConfigurationData {
return (Boolean) getConfiguration().getEntry("normalize").getValue().getValue();
}
public String getPreprocessingName() {
if (!getConfiguration().getEntryMap().containsKey("preprocessing_name")) {
return null;
}
return (String) getConfiguration().getEntry("preprocessing_name").getValue().toString();
}
public String getContext() {
if (!getConfiguration().getEntryMap().containsKey("context")) {
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