@Namespace(value="dnnl") public static enum dnnl.normalization_flags extends Enum<dnnl.normalization_flags>
\addtogroup dnnl_api_primitives_common \{
Flags for normalization primitives.
| Enum Constant and Description |
|---|
fuse_norm_relu
Fuse normalization with ReLU.
|
none
Use no normalization flags.
|
use_global_stats
Use global statistics.
|
use_scale_shift
Use scale and shift parameters.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
dnnl.normalization_flags |
intern() |
String |
toString() |
static dnnl.normalization_flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static dnnl.normalization_flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final dnnl.normalization_flags none
public static final dnnl.normalization_flags use_global_stats
public static final dnnl.normalization_flags use_scale_shift
public static final dnnl.normalization_flags fuse_norm_relu
public static dnnl.normalization_flags[] values()
for (dnnl.normalization_flags c : dnnl.normalization_flags.values()) System.out.println(c);
public static dnnl.normalization_flags 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 dnnl.normalization_flags intern()
public String toString()
toString in class Enum<dnnl.normalization_flags>Copyright © 2020. All rights reserved.