public enum ExecutionModeOnnx extends Enum<ExecutionModeOnnx>
| Enum Constant and Description |
|---|
ORT_PARALLEL |
ORT_SEQUENTIAL |
| Modifier and Type | Method and Description |
|---|---|
ai.onnxruntime.OrtSession.SessionOptions.ExecutionMode |
toOrt() |
static ExecutionModeOnnx |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionModeOnnx[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionModeOnnx ORT_SEQUENTIAL
public static final ExecutionModeOnnx ORT_PARALLEL
public static ExecutionModeOnnx[] values()
for (ExecutionModeOnnx c : ExecutionModeOnnx.values()) System.out.println(c);
public static ExecutionModeOnnx 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 ai.onnxruntime.OrtSession.SessionOptions.ExecutionMode toOrt()
Copyright © 2025 Aspose. All rights reserved.