RewriterConfig.CpuLayout
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Enum for layout conversion between NCHW and NHWC on CPU. Default is OFF.
Protobuf enum
tensorflow.RewriterConfig.CpuLayout
Méthodes héritées
De la classe java.lang.Enum entier final | |
int | comparerTo (Objet arg0) |
booléen final | est égal à (Objet arg0) |
Classe finale < RewriterConfig.CpuLayout > | getDeclaringClass () |
entier final | Code de hachage () |
Chaîne finale | nom () |
entier final | ordinal () |
Chaîne | àChaîne () |
statique <T étend Enum<T>> T | valueOf (Class<T> arg0, Chaîne arg1) |
De la classe java.lang.Object booléen | est égal à (Objet arg0) |
Classe finale<?> | obtenirClasse () |
int | Code de hachage () |
vide final | notifier () |
vide final | notifierTous () |
Chaîne | àChaîne () |
vide final | attendre (long arg0, int arg1) |
vide final | attendez (long arg0) |
vide final | attendez () |
Depuis l'interface java.lang.Comparable Valeurs d'énumération
public statique final RewriterConfig.CpuLayout NCHW_TO_NHWC
public statique final RewriterConfig.CpuLayout NHWC_TO_NCHW
public statique final RewriterConfig.CpuLayout NO_CONVERSION_ON_CPU
NO_CONVERSION_ON_CPU = 0;
public statique final RewriterConfig.CpuLayout NON RECONNU
Constantes
public statique final int NCHW_TO_NHWC_VALUE
public statique final int NHWC_TO_NCHW_VALUE
public statique final int NO_CONVERSION_ON_CPU_VALUE
NO_CONVERSION_ON_CPU = 0;
Valeur constante : 0
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[null,null,["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# RewriterConfig.CpuLayout\n\npublic static final enum **RewriterConfig.CpuLayout** \n\u003cbr /\u003e\n\n```\n Enum for layout conversion between NCHW and NHWC on CPU. Default is OFF.\n \n```\nProtobuf enum `tensorflow.RewriterConfig.CpuLayout`\n\n\u003cbr /\u003e\n\n### Constants\n\n|-----|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|\n| int | [NCHW_TO_NHWC_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout#NCHW_TO_NHWC_VALUE) | `NCHW_TO_NHWC = 1;` |\n| int | [NHWC_TO_NCHW_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout#NHWC_TO_NCHW_VALUE) | `NHWC_TO_NCHW = 2;` |\n| int | [NO_CONVERSION_ON_CPU_VALUE](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout#NO_CONVERSION_ON_CPU_VALUE) | `NO_CONVERSION_ON_CPU = 0;` |\n\n### Inherited Methods\n\nFrom class java.lang.Enum \n\n|-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n| final int | compareTo([RewriterConfig.CpuLayout](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout) arg0) |\n| int | compareTo(Object arg0) |\n| final boolean | equals(Object arg0) |\n| final Class\\\u003c[RewriterConfig.CpuLayout](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout)\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final String | name() |\n| final int | ordinal() |\n| String | toString() |\n| static \\\u003cT extends Enum\\\u003cT\\\u003e\\\u003e T | valueOf(Class\\\u003cT\\\u003e arg0, String arg1) |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.Comparable \n\n|--------------|------------------------------------------------------------------------------------------------------------------------|\n| abstract int | compareTo([RewriterConfig.CpuLayout](/jvm/api_docs/java/org/tensorflow/proto/framework/RewriterConfig.CpuLayout) arg0) |\n\nEnum Values\n-----------\n\n#### public static final RewriterConfig.CpuLayout\n**NCHW_TO_NHWC**\n\n`NCHW_TO_NHWC = 1;` \n\n#### public static final RewriterConfig.CpuLayout\n**NHWC_TO_NCHW**\n\n`NHWC_TO_NCHW = 2;` \n\n#### public static final RewriterConfig.CpuLayout\n**NO_CONVERSION_ON_CPU**\n\n`NO_CONVERSION_ON_CPU = 0;` \n\n#### public static final RewriterConfig.CpuLayout\n**UNRECOGNIZED**\n\n\u003cbr /\u003e\n\nConstants\n---------\n\n#### public static final int\n**NCHW_TO_NHWC_VALUE**\n\n`NCHW_TO_NHWC = 1;` \nConstant Value: 1 \n\n#### public static final int\n**NHWC_TO_NCHW_VALUE**\n\n`NHWC_TO_NCHW = 2;` \nConstant Value: 2 \n\n#### public static final int\n**NO_CONVERSION_ON_CPU_VALUE**\n\n`NO_CONVERSION_ON_CPU = 0;` \nConstant Value: 0"]]