Package | Description |
---|---|
org.deeplearning4j.nn.conf | |
org.deeplearning4j.nn.conf.module |
Modifier and Type | Method and Description |
---|---|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.addInputs(Collection<String> inputNames)
Specify the inputs to the network, and their associated labels.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.addInputs(String... inputNames)
Specify the inputs to the network, and their associated labels.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.addLayer(String layerName,
Layer layer,
InputPreProcessor preProcessor,
String... layerInputs)
Add a layer and an
InputPreProcessor , with the specified name and specified inputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.addLayer(String layerName,
Layer layer,
String... layerInputs)
Add a layer, with no
InputPreProcessor , with the specified name and specified inputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.addVertex(String vertexName,
GraphVertex vertex,
String... vertexInputs)
Add a
GraphVertex to the network configuration. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.allowDisconnected(boolean allowDisconnected)
Used only during validation after building.
If true: don't throw an exception on configurations containing vertices that are 'disconnected'. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.allowNoOutput(boolean allowNoOutput)
Used only during validation after building.
If true: don't throw an exception on configurations without any outputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.appendLayer(String layerName,
Layer layer)
Add a layer, with no
InputPreProcessor , with the specified name
and input from the last added layer/vertex. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.appendLayer(String layerName,
Layer layer,
InputPreProcessor preProcessor)
Add a layer and an
InputPreProcessor , with the specified name
and input from the last added layer/vertex. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.appendVertex(String vertexName,
GraphVertex vertex)
Add a
GraphVertex to the network configuration, with input from the last added vertex/layer. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.backpropType(BackpropType type)
The type of backprop.
|
ComputationGraphConfiguration.GraphBuilder |
NeuralNetConfiguration.Builder.graphBuilder()
Create a GraphBuilder (for creating a ComputationGraphConfiguration).
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.inputPreProcessor(String layer,
InputPreProcessor processor)
Specify the processors for a given layer
These are used at each layer for doing things like normalization and shaping of input.
Note: preprocessors can also be defined using the addLayer(String, Layer, InputPreProcessor, String...) method. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.layer(int layerName,
Layer layer,
String... layerInputs)
Add a layer, with no
InputPreProcessor , with the specified name and specified inputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.layer(String layerName,
Layer layer,
InputPreProcessor preProcessor,
String... layerInputs)
Add a layer and an
InputPreProcessor , with the specified name and specified inputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.layer(String layerName,
Layer layer,
String... layerInputs)
Add a layer, with no
InputPreProcessor , with the specified name and specified inputs. |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.removeVertex(String vertexName)
Intended for use with the transfer learning API.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.removeVertex(String vertexName,
boolean removeConnections)
Intended for use with the transfer learning API.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.setInputTypes(InputType... inputTypes)
Specify the types of inputs to the network, so that:
(a) preprocessors can be automatically added, and (b) the nIns (input size) for each layer can be automatically calculated and set The order here is the same order as .addInputs(). |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.setOutputs(String... outputNames)
Set the network output labels.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.tBPTTBackwardLength(int backwardLength)
When doing truncated BPTT: how many steps of backward should we do?
Only applicable when doing backpropType(BackpropType.TruncatedBPTT) This is the k2 parameter on pg23 of http://www.cs.utoronto.ca/~ilya/pubs/ilya_sutskever_phd_thesis.pdf |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.tBPTTForwardLength(int forwardLength)
When doing truncated BPTT: how many steps of forward pass should we do
before doing (truncated) backprop?
Only applicable when doing backpropType(BackpropType.TruncatedBPTT) Typically tBPTTForwardLength parameter is same as the tBPTTBackwardLength parameter, but may be larger than it in some circumstances (but never smaller) Ideally your training data time series length should be divisible by this This is the k1 parameter on pg23 of http://www.cs.utoronto.ca/~ilya/pubs/ilya_sutskever_phd_thesis.pdf |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.tBPTTLength(int tbpttLength)
When doing truncated backpropagation through time (tBPTT): how many steps should we do?
Only applicable when doing backpropType(BackpropType.TruncatedBPTT) See: http://www.cs.utoronto.ca/~ilya/pubs/ilya_sutskever_phd_thesis.pdf |
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.validateOutputLayerConfig(boolean validate)
Enabled by default.
|
ComputationGraphConfiguration.GraphBuilder |
ComputationGraphConfiguration.GraphBuilder.validateTbpttConfig(boolean validate)
Enabled by default.
|
Modifier and Type | Method and Description |
---|---|
ComputationGraphConfiguration.GraphBuilder |
GraphBuilderModule.updateBuilder(ComputationGraphConfiguration.GraphBuilder graph,
String layerName,
int inputSize,
int[][] config,
String inputLayer)
Add a layer to the collection of layers being generated by this module.
|
Modifier and Type | Method and Description |
---|---|
ComputationGraphConfiguration.GraphBuilder |
GraphBuilderModule.updateBuilder(ComputationGraphConfiguration.GraphBuilder graph,
String layerName,
int inputSize,
int[][] config,
String inputLayer)
Add a layer to the collection of layers being generated by this module.
|
Copyright © 2019. All rights reserved.