Enum onnxruntime::GraphOptimizationLevel[][src]

#[repr(u32)]
pub enum GraphOptimizationLevel {
    DisableAll,
    Basic,
    Extended,
    All,
}
Expand description

Optimization level performed by ONNX Runtime of the loaded graph

See the official documentation for more information on the different optimization levels.

Variants

DisableAll

Disable optimization

Basic

Basic optimization

Extended

Extended optimization

All

Add optimization

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.