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
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