@Namespace(value="dnnl") public static enum dnnl.fpmath_mode extends Enum<dnnl.fpmath_mode>
\addtogroup dnnl_api_attributes A container for parameters that extend primitives behavior. Attributes can also contain Post-ops, which are computations executed after the primitive.
dev_guide_attributes,
dev_guide_attributes_post_ops
\{
Floating-point math mode
| Enum Constant and Description |
|---|
any
Implicit f32->f16 or f32->bf16 conversions allowed
|
bf16
Implicit f32->bf16 conversions allowed
|
f16
Implicit f32->f16 conversions allowed
|
strict
Default behavior, no downconversions allowed
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
dnnl.fpmath_mode |
intern() |
String |
toString() |
static dnnl.fpmath_mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static dnnl.fpmath_mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final dnnl.fpmath_mode strict
public static final dnnl.fpmath_mode bf16
public static final dnnl.fpmath_mode f16
public static final dnnl.fpmath_mode any
public static dnnl.fpmath_mode[] values()
for (dnnl.fpmath_mode c : dnnl.fpmath_mode.values()) System.out.println(c);
public static dnnl.fpmath_mode 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.fpmath_mode intern()
public String toString()
toString in class Enum<dnnl.fpmath_mode>Copyright © 2022. All rights reserved.