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 Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVATION_LAYER
Deprecated.
|
static String |
BATCH_NORMALIZATION
Deprecated.
|
protected MultiLayerConfiguration.Builder |
conf
Deprecated.
|
static String |
CONVOLUTION_LAYER
Deprecated.
|
static String |
DENSE_LAYER
Deprecated.
|
static String |
GRAVES_BIDIRECTIONAL_LSTM
Deprecated.
|
static String |
GRAVES_LSTM
Deprecated.
|
protected String |
inLayerName
Deprecated.
|
protected int |
lastHeight
Deprecated.
|
protected int |
lastnOut
Deprecated.
|
protected int |
lastOutChannels
Deprecated.
|
protected int |
lastWidth
Deprecated.
|
static String |
LOCAL_RESPONSE_NORMALIZATION
Deprecated.
|
protected Map<String,Integer> |
nInsPerLayer
Deprecated.
|
protected Map<String,int[]> |
nOutsPerLayer
Deprecated.
|
protected int |
numLayers
Deprecated.
|
protected String |
outLayerName
Deprecated.
|
static String |
OUTPUT_LAYER
Deprecated.
|
static String |
RBM
Deprecated.
|
static String |
RECURSIVE_AUTO_ENCODER
Deprecated.
|
static String |
RNN_OUTPUT_LAYER
Deprecated.
|
static 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.
|
Map<String,Integer> |
getnInForLayer()
Deprecated.
|
Map<String,int[]> |
getOutSizesEachLayer()
Deprecated.
|
void |
setLastHeight(int lastHeight)
Deprecated.
|
void |
setLastOutChannels(int lastOutChannels)
Deprecated.
|
void |
setLastWidth(int lastWidth)
Deprecated.
|
void |
setnInForLayer(Map<String,Integer> nInForLayer)
Deprecated.
|
void |
setOutSizesEachLayer(Map<String,int[]> outSizesEachLayer)
Deprecated.
|
public static final String CONVOLUTION_LAYER
public static final String LOCAL_RESPONSE_NORMALIZATION
public static final String SUBSAMPLING_LAYER
public static final String RECURSIVE_AUTO_ENCODER
public static final String RBM
public static final String DENSE_LAYER
public static final String OUTPUT_LAYER
public static final String GRAVES_LSTM
public static final String GRAVES_BIDIRECTIONAL_LSTM
public static final String RNN_OUTPUT_LAYER
public static final String ACTIVATION_LAYER
public static final String BATCH_NORMALIZATION
protected int lastHeight
protected int lastWidth
protected int lastOutChannels
protected int lastnOut
protected int numLayers
protected String inLayerName
protected String outLayerName
protected MultiLayerConfiguration.Builder conf
protected boolean useCNN
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 void setOutSizesEachLayer(Map<String,int[]> outSizesEachLayer)
Copyright © 2016. All Rights Reserved.