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