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