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