pub struct OnnxRuntimeTuning {
pub memory_pattern: Option<bool>,
pub disable_cpu_mem_arena: Option<bool>,
pub session_buckets: Option<usize>,
pub bucket_dim_granularity: Option<usize>,
pub bucket_max_dims: Option<usize>,
pub peak_concurrency_hint: Option<u32>,
}Fields§
§memory_pattern: Option<bool>§disable_cpu_mem_arena: Option<bool>§session_buckets: Option<usize>§bucket_dim_granularity: Option<usize>§bucket_max_dims: Option<usize>§peak_concurrency_hint: Option<u32>Trait Implementations§
Source§impl Clone for OnnxRuntimeTuning
impl Clone for OnnxRuntimeTuning
Source§fn clone(&self) -> OnnxRuntimeTuning
fn clone(&self) -> OnnxRuntimeTuning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OnnxRuntimeTuning
impl Debug for OnnxRuntimeTuning
Source§impl Default for OnnxRuntimeTuning
impl Default for OnnxRuntimeTuning
Source§fn default() -> OnnxRuntimeTuning
fn default() -> OnnxRuntimeTuning
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OnnxRuntimeTuning
impl RefUnwindSafe for OnnxRuntimeTuning
impl Send for OnnxRuntimeTuning
impl Sync for OnnxRuntimeTuning
impl Unpin for OnnxRuntimeTuning
impl UnsafeUnpin for OnnxRuntimeTuning
impl UnwindSafe for OnnxRuntimeTuning
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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