public class MultiLayerConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
MultiLayerConfiguration.Builder |
Modifier and Type | Field and Description |
---|---|
protected boolean |
backprop |
protected BackpropType |
backpropType |
protected java.util.List<NeuralNetConfiguration> |
confs |
protected java.util.Map<java.lang.Integer,InputPreProcessor> |
inputPreProcessors |
protected int |
iterationCount |
protected boolean |
pretrain |
protected int |
tbpttBackLength |
protected int |
tbpttFwdLength |
Constructor and Description |
---|
MultiLayerConfiguration() |
Modifier and Type | Method and Description |
---|---|
MultiLayerConfiguration |
clone() |
static MultiLayerConfiguration |
fromJson(java.lang.String json)
Create a neural net configuration from json
|
static MultiLayerConfiguration |
fromYaml(java.lang.String json)
Create a neural net configuration from json
|
NeuralNetConfiguration |
getConf(int i) |
InputPreProcessor |
getInputPreProcess(int curr) |
java.lang.String |
toJson() |
java.lang.String |
toString() |
java.lang.String |
toYaml() |
protected java.util.List<NeuralNetConfiguration> confs
protected java.util.Map<java.lang.Integer,InputPreProcessor> inputPreProcessors
protected boolean pretrain
protected boolean backprop
protected BackpropType backpropType
protected int tbpttFwdLength
protected int tbpttBackLength
protected int iterationCount
public java.lang.String toYaml()
public static MultiLayerConfiguration fromYaml(java.lang.String json)
json
- the neural net configuration from jsonMultiLayerConfiguration
public java.lang.String toJson()
public static MultiLayerConfiguration fromJson(java.lang.String json)
json
- the neural net configuration from jsonMultiLayerConfiguration
public java.lang.String toString()
toString
in class java.lang.Object
public NeuralNetConfiguration getConf(int i)
public MultiLayerConfiguration clone()
clone
in class java.lang.Object
public InputPreProcessor getInputPreProcess(int curr)