Modifier and Type | Method and Description |
---|---|
static OrtSession.SessionOptions.OptLevel |
OrtSession.SessionOptions.OptLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrtSession.SessionOptions.OptLevel[] |
OrtSession.SessionOptions.OptLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
OrtSession.SessionOptions.setOptimizationLevel(OrtSession.SessionOptions.OptLevel level)
Sets the optimization level of this options object, overriding the old setting.
|