pub struct OptimizationAdvisor { /* private fields */ }Expand description
Intelligent optimization advisor
Implementations§
Source§impl OptimizationAdvisor
impl OptimizationAdvisor
Sourcepub fn new(config: AdvisorConfig) -> Self
pub fn new(config: AdvisorConfig) -> Self
Create a new optimization advisor
Sourcepub fn analyze_and_recommend(
&mut self,
input: AnalysisInput,
) -> JitResult<OptimizationReport>
pub fn analyze_and_recommend( &mut self, input: AnalysisInput, ) -> JitResult<OptimizationReport>
Analyze a computation graph and provide optimization recommendations
Sourcepub fn get_version(&self) -> &str
pub fn get_version(&self) -> &str
Get the version of the optimization advisor
Auto Trait Implementations§
impl Freeze for OptimizationAdvisor
impl RefUnwindSafe for OptimizationAdvisor
impl Send for OptimizationAdvisor
impl Sync for OptimizationAdvisor
impl Unpin for OptimizationAdvisor
impl UnsafeUnpin for OptimizationAdvisor
impl UnwindSafe for OptimizationAdvisor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more