public static enum TensorInfo.StorageOrder extends Enum<TensorInfo.StorageOrder>
| Enum Constant and Description |
|---|
C |
CHW |
CN |
CWH |
H |
HCW |
HWC |
NC |
NCHW |
NHCW |
NHWC |
W |
WCH |
WHC |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
TensorInfo.StorageOrder |
intern() |
String |
toString() |
static TensorInfo.StorageOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TensorInfo.StorageOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorInfo.StorageOrder NHWC
public static final TensorInfo.StorageOrder NHCW
public static final TensorInfo.StorageOrder NCHW
public static final TensorInfo.StorageOrder HWC
public static final TensorInfo.StorageOrder CHW
public static final TensorInfo.StorageOrder WHC
public static final TensorInfo.StorageOrder HCW
public static final TensorInfo.StorageOrder WCH
public static final TensorInfo.StorageOrder CWH
public static final TensorInfo.StorageOrder NC
public static final TensorInfo.StorageOrder CN
public static final TensorInfo.StorageOrder C
public static final TensorInfo.StorageOrder H
public static final TensorInfo.StorageOrder W
public static TensorInfo.StorageOrder[] values()
for (TensorInfo.StorageOrder c : TensorInfo.StorageOrder.values()) System.out.println(c);
public static TensorInfo.StorageOrder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic TensorInfo.StorageOrder intern()
public String toString()
toString in class Enum<TensorInfo.StorageOrder>Copyright © 2021. All rights reserved.