public static class ComputationGraphSpace.Builder extends BaseNetworkSpace.Builder<ComputationGraphSpace.Builder>
| 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> |
layerList |
protected String[] |
networkInputs |
protected String[] |
networkOutputs |
protected org.deeplearning4j.nn.conf.WorkspaceMode |
trainingWorkspaceMode |
protected List<ComputationGraphSpace.VertexConf> |
vertexList |
validateOutputLayerConfig| Constructor and Description |
|---|
Builder() |
activation, activation, activationFn, backpropType, backpropType, biasInit, biasInit, biasUpdater, biasUpdater, constrainAllParams, constrainAllParams, constrainBias, constrainBias, constrainWeights, constrainWeights, convolutionMode, convolutionMode, dist, dist, dropOut, dropOut, gradientNormalization, gradientNormalization, gradientNormalizationThreshold, gradientNormalizationThreshold, idropOut, idropOut, l1, l1, l1Bias, l1Bias, l2, l2, l2Bias, l2Bias, maxNumLineSearchIterations, maxNumLineSearchIterations, miniBatch, miniBatch, minimize, minimize, numEpochs, optimizationAlgo, optimizationAlgo, seed, stepFunction, stepFunction, tbpttBwdLength, tbpttBwdLength, tbpttFwdLength, tbpttFwdLength, updater, updater, validateOutputLayerConfig, weightInit, weightInit, weightNoise, weightNoiseprotected List<BaseNetworkSpace.LayerConf> layerList
protected List<ComputationGraphSpace.VertexConf> vertexList
protected org.deeplearning4j.earlystopping.EarlyStoppingConfiguration<org.deeplearning4j.nn.graph.ComputationGraph> earlyStoppingConfiguration
protected String[] networkInputs
protected String[] networkOutputs
protected ParameterSpace<org.deeplearning4j.nn.conf.inputs.InputType[]> inputTypes
protected org.deeplearning4j.nn.conf.WorkspaceMode trainingWorkspaceMode
protected org.deeplearning4j.nn.conf.WorkspaceMode inferenceWorkspaceMode
public ComputationGraphSpace.Builder earlyStoppingConfiguration(org.deeplearning4j.earlystopping.EarlyStoppingConfiguration<org.deeplearning4j.nn.graph.ComputationGraph> earlyStoppingConfiguration)
public ComputationGraphSpace.Builder layer(String layerName, LayerSpace<? extends org.deeplearning4j.nn.conf.layers.Layer> layerSpace, String... layerInputs)
public ComputationGraphSpace.Builder layer(String layerName, LayerSpace<? extends org.deeplearning4j.nn.conf.layers.Layer> layerSpace, org.deeplearning4j.nn.conf.InputPreProcessor preProcessor, String... layerInputs)
public ComputationGraphSpace.Builder layer(String layerName, org.deeplearning4j.nn.conf.layers.Layer layer, String... layerInputs)
public ComputationGraphSpace.Builder addLayer(String layerName, LayerSpace<? extends org.deeplearning4j.nn.conf.layers.Layer> layerSpace, String... layerInputs)
public ComputationGraphSpace.Builder addLayer(String layerName, LayerSpace<? extends org.deeplearning4j.nn.conf.layers.Layer> layerSpace, org.deeplearning4j.nn.conf.InputPreProcessor preProcessor, String... layerInputs)
public ComputationGraphSpace.Builder addVertex(String vertexName, org.deeplearning4j.nn.conf.graph.GraphVertex vertex, String... vertexInputs)
public ComputationGraphSpace.Builder addInputs(String... networkInputs)
public ComputationGraphSpace.Builder setOutputs(String... networkOutputs)
public ComputationGraphSpace.Builder setInputTypes(org.deeplearning4j.nn.conf.inputs.InputType... inputTypes)
public ComputationGraphSpace.Builder setInputTypes(ParameterSpace<org.deeplearning4j.nn.conf.inputs.InputType[]> inputTypes)
public ComputationGraphSpace.Builder trainingWorkspaceMode(org.deeplearning4j.nn.conf.WorkspaceMode workspaceMode)
public ComputationGraphSpace.Builder inferenceWorkspaceMode(org.deeplearning4j.nn.conf.WorkspaceMode workspaceMode)
public ComputationGraphSpace build()
build in class BaseNetworkSpace.Builder<ComputationGraphSpace.Builder>Copyright © 2020. All rights reserved.