#[repr(i32)]pub enum OptProfileSelector {
kMIN = 0,
kOPT = 1,
kMAX = 2,
}Expand description
OptProfileSelector
When setting or querying optimization profile parameters (such as shape tensor inputs or dynamic dimensions), select whether we are interested in the minimum, optimum, or maximum values for these parameters. The minimum and maximum specify the permitted range that is supported at runtime, while the optimum value is used for the kernel selection. This should be the “typical” value that is expected to occur at runtime.
See [IOptimizationProfile::setDimensions()], IOptimizationProfile::setShapeValuesV2(), IOptimizationProfile::setShapeValues()
Variants§
kMIN = 0
< This is used to set or get the minimum permitted value for dynamic dimensions etc.
kOPT = 1
< This is used to set or get the value that is used in the optimization (kernel selection).
kMAX = 2
< This is used to set or get the maximum permitted value for dynamic dimensions etc.
Trait Implementations§
Source§impl Clone for OptProfileSelector
impl Clone for OptProfileSelector
Source§fn clone(&self) -> OptProfileSelector
fn clone(&self) -> OptProfileSelector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more