public class ComputationGraphSpace extends BaseNetworkSpace<GraphConfiguration>
| Modifier and Type | Class and Description |
|---|---|
static class |
ComputationGraphSpace.Builder |
protected static class |
ComputationGraphSpace.VertexConf |
BaseNetworkSpace.LayerConf| Modifier and Type | Field and Description |
|---|---|
protected org.deeplearning4j.earlystopping.EarlyStoppingConfiguration<org.deeplearning4j.nn.graph.ComputationGraph> |
earlyStoppingConfiguration |
protected org.deeplearning4j.nn.conf.WorkspaceMode |
inferenceWorkspaceMode |
protected ParameterSpace<org.deeplearning4j.nn.conf.inputs.InputType[]> |
inputTypes |
protected List<BaseNetworkSpace.LayerConf> |
layerSpaces |
protected String[] |
networkInputs |
protected String[] |
networkOutputs |
protected int |
numParameters |
protected org.deeplearning4j.nn.conf.WorkspaceMode |
trainingWorkspaceMode |
protected boolean |
validateOutputLayerConfig |
protected List<ComputationGraphSpace.VertexConf> |
vertices |
activationFunction, allParamConstraints, backpropType, biasConstraints, biasInit, biasUpdater, convolutionMode, dist, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, maxNumLineSearchIterations, miniBatch, minimize, numEpochs, optimizationAlgo, seed, stepFunction, tbpttBwdLength, tbpttFwdLength, updater, weightConstraints, weightInit, weightNoise| Modifier | Constructor and Description |
|---|---|
protected |
ComputationGraphSpace(ComputationGraphSpace.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
List<ParameterSpace> |
collectLeaves() |
static ComputationGraphSpace |
fromJson(String json)
Instantiate a computation graph space from
a raw json string
|
static ComputationGraphSpace |
fromYaml(String yaml)
Instantiate a computation graph space
from a raw yaml string
|
GraphConfiguration |
getValue(double[] values) |
int |
numParameters() |
String |
toString() |
isLeaf, randomGlobalConf, setIndices, toJson, toYamlgetNestedSpacesprotected List<BaseNetworkSpace.LayerConf> layerSpaces
protected List<ComputationGraphSpace.VertexConf> vertices
protected String[] networkInputs
protected String[] networkOutputs
protected ParameterSpace<org.deeplearning4j.nn.conf.inputs.InputType[]> inputTypes
protected int numParameters
protected org.deeplearning4j.nn.conf.WorkspaceMode trainingWorkspaceMode
protected org.deeplearning4j.nn.conf.WorkspaceMode inferenceWorkspaceMode
protected boolean validateOutputLayerConfig
protected org.deeplearning4j.earlystopping.EarlyStoppingConfiguration<org.deeplearning4j.nn.graph.ComputationGraph> earlyStoppingConfiguration
protected ComputationGraphSpace(ComputationGraphSpace.Builder builder)
public GraphConfiguration getValue(double[] values)
public int numParameters()
public List<ParameterSpace> collectLeaves()
collectLeaves in interface ParameterSpace<GraphConfiguration>collectLeaves in class BaseNetworkSpace<GraphConfiguration>public String toString()
toString in class BaseNetworkSpace<GraphConfiguration>public static ComputationGraphSpace fromJson(String json)
json - public static ComputationGraphSpace fromYaml(String yaml)
yaml - Copyright © 2020. All rights reserved.