MultiLayerConfiguration.Builder.setInputType(InputType)
to set nIns
and add preprocessors as required. This can be done using builder.setInputType(InputType.convolutional(height, width, channels))
@Deprecated
public class ConvolutionLayerSetup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVATION_LAYER
Deprecated.
|
static java.lang.String |
BATCH_NORMALIZATION
Deprecated.
|
protected MultiLayerConfiguration.Builder |
conf
Deprecated.
|
static java.lang.String |
CONVOLUTION_LAYER
Deprecated.
|
static java.lang.String |
DENSE_LAYER
Deprecated.
|
static java.lang.String |
GRAVES_BIDIRECTIONAL_LSTM
Deprecated.
|
static java.lang.String |
GRAVES_LSTM
Deprecated.
|
protected java.lang.String |
inLayerName
Deprecated.
|
protected int |
lastHeight
Deprecated.
|
protected int |
lastnOut
Deprecated.
|
protected int |
lastOutChannels
Deprecated.
|
protected int |
lastWidth
Deprecated.
|
static java.lang.String |
LOCAL_RESPONSE_NORMALIZATION
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.Integer> |
nInsPerLayer
Deprecated.
|
protected java.util.Map<java.lang.String,int[]> |
nOutsPerLayer
Deprecated.
|
protected int |
numLayers
Deprecated.
|
protected java.lang.String |
outLayerName
Deprecated.
|
static java.lang.String |
OUTPUT_LAYER
Deprecated.
|
static java.lang.String |
RBM
Deprecated.
|
static java.lang.String |
RECURSIVE_AUTO_ENCODER
Deprecated.
|
static java.lang.String |
RNN_OUTPUT_LAYER
Deprecated.
|
static java.lang.String |
SUBSAMPLING_LAYER
Deprecated.
|
protected boolean |
useCNN
Deprecated.
|
Constructor and Description |
---|
ConvolutionLayerSetup(MultiLayerConfiguration.Builder builder,
int height,
int width,
int channels)
Deprecated.
Use
MultiLayerConfiguration.Builder.setInputType(InputType) to set nIns
and add preprocessors as required. This can be done using builder.setInputType(InputType.convolutional(height, width, channels))
For image data that has been flattened into a row vector per example (shape [minibatchSize,depth*height*width])
instead use InputType.convolutionalFlat(height,width,depth) . |
Modifier and Type | Method and Description |
---|---|
int |
getLastHeight()
Deprecated.
|
int |
getLastOutChannels()
Deprecated.
|
int |
getLastWidth()
Deprecated.
|
Layer |
getLayer(int i,
MultiLayerConfiguration.Builder builder)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getnInForLayer()
Deprecated.
|
java.util.Map<java.lang.String,int[]> |
getOutSizesEachLayer()
Deprecated.
|
void |
setLastHeight(int lastHeight)
Deprecated.
|
void |
setLastOutChannels(int lastOutChannels)
Deprecated.
|
void |
setLastWidth(int lastWidth)
Deprecated.
|
void |
setnInForLayer(java.util.Map<java.lang.String,java.lang.Integer> nInForLayer)
Deprecated.
|
void |
setOutSizesEachLayer(java.util.Map<java.lang.String,int[]> outSizesEachLayer)
Deprecated.
|
public static final java.lang.String CONVOLUTION_LAYER
public static final java.lang.String LOCAL_RESPONSE_NORMALIZATION
public static final java.lang.String SUBSAMPLING_LAYER
public static final java.lang.String RECURSIVE_AUTO_ENCODER
public static final java.lang.String RBM
public static final java.lang.String DENSE_LAYER
public static final java.lang.String OUTPUT_LAYER
public static final java.lang.String GRAVES_LSTM
public static final java.lang.String GRAVES_BIDIRECTIONAL_LSTM
public static final java.lang.String RNN_OUTPUT_LAYER
public static final java.lang.String ACTIVATION_LAYER
public static final java.lang.String BATCH_NORMALIZATION
protected int lastHeight
protected int lastWidth
protected int lastOutChannels
protected int lastnOut
protected int numLayers
protected java.lang.String inLayerName
protected java.lang.String outLayerName
protected java.util.Map<java.lang.String,int[]> nOutsPerLayer
protected java.util.Map<java.lang.String,java.lang.Integer> nInsPerLayer
protected MultiLayerConfiguration.Builder conf
protected boolean useCNN
@Deprecated public ConvolutionLayerSetup(MultiLayerConfiguration.Builder builder, int height, int width, int channels)
MultiLayerConfiguration.Builder.setInputType(InputType)
to set nIns
and add preprocessors as required. This can be done using builder.setInputType(InputType.convolutional(height, width, channels))
For image data that has been flattened into a row vector per example (shape [minibatchSize,depth*height*width])
instead use InputType.convolutionalFlat(height,width,depth)
.builder
- the configuration builderheight
- initial height of the datawidth
- initial width of the datachannels
- initial number of channels in the datapublic Layer getLayer(int i, MultiLayerConfiguration.Builder builder)
public int getLastHeight()
public void setLastHeight(int lastHeight)
public int getLastWidth()
public void setLastWidth(int lastWidth)
public int getLastOutChannels()
public void setLastOutChannels(int lastOutChannels)
public java.util.Map<java.lang.String,int[]> getOutSizesEachLayer()
public void setOutSizesEachLayer(java.util.Map<java.lang.String,int[]> outSizesEachLayer)
public java.util.Map<java.lang.String,java.lang.Integer> getnInForLayer()
public void setnInForLayer(java.util.Map<java.lang.String,java.lang.Integer> nInForLayer)