Enum NormalizerType
- java.lang.Object
-
- java.lang.Enum<NormalizerType>
-
- org.nd4j.linalg.dataset.api.preprocessor.serializer.NormalizerType
-
- All Implemented Interfaces:
Serializable
,Comparable<NormalizerType>
public enum NormalizerType extends Enum<NormalizerType>
Enum representing the opType of a normalizer for serialization purposes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM
IMAGE_MIN_MAX
IMAGE_VGG16
MIN_MAX
MULTI_HYBRID
MULTI_MIN_MAX
MULTI_STANDARDIZE
STANDARDIZE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NormalizerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NormalizerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARDIZE
public static final NormalizerType STANDARDIZE
-
MIN_MAX
public static final NormalizerType MIN_MAX
-
IMAGE_MIN_MAX
public static final NormalizerType IMAGE_MIN_MAX
-
IMAGE_VGG16
public static final NormalizerType IMAGE_VGG16
-
MULTI_STANDARDIZE
public static final NormalizerType MULTI_STANDARDIZE
-
MULTI_MIN_MAX
public static final NormalizerType MULTI_MIN_MAX
-
MULTI_HYBRID
public static final NormalizerType MULTI_HYBRID
-
CUSTOM
public static final NormalizerType CUSTOM
-
-
Method Detail
-
values
public static NormalizerType[] 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 (NormalizerType c : NormalizerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NormalizerType 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
-
-