public static enum OrtSession.SessionOptions.OptLevel extends java.lang.Enum<OrtSession.SessionOptions.OptLevel>
| Enum Constant and Description |
|---|
ALL_OPT |
BASIC_OPT |
EXTENDED_OPT |
NO_OPT |
| Modifier and Type | Method and Description |
|---|---|
int |
getID()
Gets the int id used in native code for this optimisation level.
|
static OrtSession.SessionOptions.OptLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrtSession.SessionOptions.OptLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrtSession.SessionOptions.OptLevel NO_OPT
public static final OrtSession.SessionOptions.OptLevel BASIC_OPT
public static final OrtSession.SessionOptions.OptLevel EXTENDED_OPT
public static final OrtSession.SessionOptions.OptLevel ALL_OPT
public static OrtSession.SessionOptions.OptLevel[] values()
for (OrtSession.SessionOptions.OptLevel c : OrtSession.SessionOptions.OptLevel.values()) System.out.println(c);
public static OrtSession.SessionOptions.OptLevel 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()