pub struct QuantizationBenchmarkSuite { /* private fields */ }Expand description
Comprehensive benchmark suite for quantization operations
Implementations§
Source§impl QuantizationBenchmarkSuite
impl QuantizationBenchmarkSuite
Sourcepub fn new(config: BenchmarkConfig) -> Self
pub fn new(config: BenchmarkConfig) -> Self
Create a new benchmark suite
Sourcepub fn run_benchmarks(&mut self) -> TorshResult<BenchmarkSummary>
pub fn run_benchmarks(&mut self) -> TorshResult<BenchmarkSummary>
Run comprehensive benchmarks
Sourcepub fn get_results(&self) -> &[BenchmarkResult]
pub fn get_results(&self) -> &[BenchmarkResult]
Get all benchmark results
Sourcepub fn export_to_csv(&self) -> String
pub fn export_to_csv(&self) -> String
Export results to CSV format
Trait Implementations§
Source§impl Clone for QuantizationBenchmarkSuite
impl Clone for QuantizationBenchmarkSuite
Source§fn clone(&self) -> QuantizationBenchmarkSuite
fn clone(&self) -> QuantizationBenchmarkSuite
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 moreAuto Trait Implementations§
impl Freeze for QuantizationBenchmarkSuite
impl RefUnwindSafe for QuantizationBenchmarkSuite
impl Send for QuantizationBenchmarkSuite
impl Sync for QuantizationBenchmarkSuite
impl Unpin for QuantizationBenchmarkSuite
impl UnsafeUnpin for QuantizationBenchmarkSuite
impl UnwindSafe for QuantizationBenchmarkSuite
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> 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