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