Class InputType.InputTypeConvolutional
- java.lang.Object
-
- org.deeplearning4j.nn.conf.inputs.InputType
-
- org.deeplearning4j.nn.conf.inputs.InputType.InputTypeConvolutional
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- InputType
public static class InputType.InputTypeConvolutional extends InputType
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.deeplearning4j.nn.conf.inputs.InputType
InputType.InputTypeConvolutional, InputType.InputTypeConvolutional3D, InputType.InputTypeConvolutionalFlat, InputType.InputTypeFeedForward, InputType.InputTypeRecurrent, InputType.Type
-
-
Constructor Summary
Constructors Constructor Description InputTypeConvolutional(long height, long width, long channels)
InputTypeConvolutional(long height, long width, long channels, CNN2DFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
arrayElementsPerExample()
long
getDepth()
Deprecated.long[]
getShape(boolean includeBatchDim)
Returns the shape of this InputTypeInputType.Type
getType()
void
setDepth(long depth)
Deprecated.String
toString()
-
Methods inherited from class org.deeplearning4j.nn.conf.inputs.InputType
convolutional, convolutional, convolutional3D, convolutional3D, convolutionalFlat, feedForward, feedForward, getDefaultCNN2DFormat, getShape, inferInputType, inferInputTypes, recurrent, recurrent, recurrent, recurrent, setDefaultCNN2DFormat
-
-
-
-
Constructor Detail
-
InputTypeConvolutional
public InputTypeConvolutional(long height, long width, long channels, CNN2DFormat format)
-
InputTypeConvolutional
public InputTypeConvolutional(long height, long width, long channels)
-
-
Method Detail
-
getDepth
@Deprecated public long getDepth()
Deprecated.Return the number of channels / depth for this 2D convolution. This method has been deprecated, for consistency purposes, use getChannels() instead.- Returns:
- number of channels, i.e. depth for 2D convolutions
-
setDepth
@Deprecated public void setDepth(long depth)
Deprecated.Set the number of channels / depth for this 2D convolution. This method has been deprecated, for consistency purposes, use setChannels(channels) instead.
-
getType
public InputType.Type getType()
-
arrayElementsPerExample
public long arrayElementsPerExample()
- Specified by:
arrayElementsPerExample
in classInputType
-
-