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