pub trait CompiledCode: Send + Sync {
// Required methods
fn execute(&self, inputs: &[TensorRef]) -> JitResult<Vec<TensorRef>>;
fn stats(&self) -> ExecutionStats;
}Expand description
Compiled code trait
Required Methods§
Sourcefn stats(&self) -> ExecutionStats
fn stats(&self) -> ExecutionStats
Get execution statistics
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".