@Namespace(value="c10") public static enum torch.QScheme extends Enum<torch.QScheme>
| Enum Constant and Description |
|---|
COMPILE_TIME_NUM_QSCHEMES |
PER_CHANNEL_AFFINE |
PER_CHANNEL_AFFINE_FLOAT_QPARAMS |
PER_CHANNEL_SYMMETRIC |
PER_TENSOR_AFFINE |
PER_TENSOR_SYMMETRIC |
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
torch.QScheme |
intern() |
String |
toString() |
static torch.QScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.QScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final torch.QScheme PER_TENSOR_AFFINE
public static final torch.QScheme PER_CHANNEL_AFFINE
public static final torch.QScheme PER_TENSOR_SYMMETRIC
public static final torch.QScheme PER_CHANNEL_SYMMETRIC
public static final torch.QScheme PER_CHANNEL_AFFINE_FLOAT_QPARAMS
public static final torch.QScheme COMPILE_TIME_NUM_QSCHEMES
public static torch.QScheme[] values()
for (torch.QScheme c : torch.QScheme.values()) System.out.println(c);
public static torch.QScheme 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 torch.QScheme intern()
public String toString()
toString in class Enum<torch.QScheme>Copyright © 2024. All rights reserved.