public static final enum
RewriterConfig.CpuLayout
Enum for layout conversion between NCHW and NHWC on CPU. Default is OFF.
tensorflow.RewriterConfig.CpuLayout
Constants
int | NCHW_TO_NHWC_VALUE | NCHW_TO_NHWC = 1;
|
int | NHWC_TO_NCHW_VALUE | NHWC_TO_NCHW = 2;
|
int | NO_CONVERSION_ON_CPU_VALUE | NO_CONVERSION_ON_CPU = 0;
|
Inherited Methods
final int |
compareTo(RewriterConfig.CpuLayout arg0)
|
int |
compareTo(Object arg0)
|
final boolean |
equals(Object arg0)
|
final Class<RewriterConfig.CpuLayout> |
getDeclaringClass()
|
final int |
hashCode()
|
final String |
name()
|
final int |
ordinal()
|
String |
toString()
|
static <T extends Enum<T>> T |
valueOf(Class<T> arg0, String arg1)
|
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract int |
compareTo(RewriterConfig.CpuLayout arg0)
|
Enum Values
public static final RewriterConfig.CpuLayout NCHW_TO_NHWC
NCHW_TO_NHWC = 1;
public static final RewriterConfig.CpuLayout NHWC_TO_NCHW
NHWC_TO_NCHW = 2;
public static final RewriterConfig.CpuLayout NO_CONVERSION_ON_CPU
NO_CONVERSION_ON_CPU = 0;
public static final RewriterConfig.CpuLayout UNRECOGNIZED
Constants
public static final int NCHW_TO_NHWC_VALUE
NCHW_TO_NHWC = 1;
Constant Value:
1
public static final int NHWC_TO_NCHW_VALUE
NHWC_TO_NCHW = 2;
Constant Value:
2
public static final int NO_CONVERSION_ON_CPU_VALUE
NO_CONVERSION_ON_CPU = 0;
Constant Value:
0