pub trait MemoryTest<A: Float>: Debug {
// Required methods
fn run_memory_test(
&self,
plugin: &mut dyn OptimizerPlugin<A>,
) -> MemoryTestResult;
fn name(&self) -> &str;
fn memory_constraints(&self) -> MemoryConstraints;
}Expand description
Memory test trait
Required Methods§
Sourcefn run_memory_test(
&self,
plugin: &mut dyn OptimizerPlugin<A>,
) -> MemoryTestResult
fn run_memory_test( &self, plugin: &mut dyn OptimizerPlugin<A>, ) -> MemoryTestResult
Run memory test
Sourcefn memory_constraints(&self) -> MemoryConstraints
fn memory_constraints(&self) -> MemoryConstraints
Get memory constraints