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