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