Enum Convolution3D.DataFormat
- java.lang.Object
-
- java.lang.Enum<Convolution3D.DataFormat>
-
- org.deeplearning4j.nn.conf.layers.Convolution3D.DataFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<Convolution3D.DataFormat>
,DataFormat
- Enclosing class:
- Convolution3D
public static enum Convolution3D.DataFormat extends Enum<Convolution3D.DataFormat> implements DataFormat
An optional dataFormat: "NDHWC" or "NCDHW". Defaults to "NCDHW".
The data format of the input and output data.
For "NCDHW" (also known as 'channels first' format), the data storage order is: [batchSize, inputChannels, inputDepth, inputHeight, inputWidth].
For "NDHWC" ('channels last' format), the data is stored in the order of: [batchSize, inputDepth, inputHeight, inputWidth, inputChannels].
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Convolution3D.DataFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static Convolution3D.DataFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NCDHW
public static final Convolution3D.DataFormat NCDHW
-
NDHWC
public static final Convolution3D.DataFormat NDHWC
-
-
Method Detail
-
values
public static Convolution3D.DataFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Convolution3D.DataFormat c : Convolution3D.DataFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Convolution3D.DataFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-