public static enum OrtSession.SessionOptions.ExecutionMode extends java.lang.Enum<OrtSession.SessionOptions.ExecutionMode>
| Enum Constant and Description |
|---|
PARALLEL |
SEQUENTIAL |
| Modifier and Type | Method and Description |
|---|---|
int |
getID()
Gets the int id used in native code for the execution mode.
|
static OrtSession.SessionOptions.ExecutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrtSession.SessionOptions.ExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrtSession.SessionOptions.ExecutionMode SEQUENTIAL
public static final OrtSession.SessionOptions.ExecutionMode PARALLEL
public static OrtSession.SessionOptions.ExecutionMode[] values()
for (OrtSession.SessionOptions.ExecutionMode c : OrtSession.SessionOptions.ExecutionMode.values()) System.out.println(c);
public static OrtSession.SessionOptions.ExecutionMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getID()