public enum AiliaNetworkImageRange extends java.lang.Enum<AiliaNetworkImageRange>
| Enum Constant and Description |
|---|
IMAGENET
ImageNet mean and std normalize
|
SIGNED_FP32
-1.0 to 1.0
|
SIGNED_INT8
-128 to 127
|
UNSIGNED_FP32
0.0 to 1.0
|
UNSIGNED_INT8
0 to 255
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static AiliaNetworkImageRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AiliaNetworkImageRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AiliaNetworkImageRange UNSIGNED_INT8
public static final AiliaNetworkImageRange SIGNED_INT8
public static final AiliaNetworkImageRange UNSIGNED_FP32
public static final AiliaNetworkImageRange SIGNED_FP32
public static final AiliaNetworkImageRange IMAGENET
public static AiliaNetworkImageRange[] values()
for (AiliaNetworkImageRange c : AiliaNetworkImageRange.values()) System.out.println(c);
public static AiliaNetworkImageRange valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()