native_neural_network_std 0.2.1

Ergonomic std wrapper for the `native_neural_network` crate (no_std) — std-friendly re-exports and utilities.
Documentation
pub use native_neural_network::profiler::OpCounter as OpCounterStd;

pub fn opcounter_new() -> OpCounterStd {
    OpCounterStd::new()
}

pub fn has_recorded_work(counter: &OpCounterStd) -> bool {
    native_neural_network::profiler::has_recorded_work(counter)
}

pub fn is_memory_heavy(counter: &OpCounterStd) -> bool {
    native_neural_network::profiler::is_memory_heavy(counter)
}

pub fn ops_per_second(counter: &OpCounterStd, elapsed_seconds: f32) -> f32 {
    native_neural_network::profiler::ops_per_second(counter, elapsed_seconds)
}

pub fn bytes_per_second(counter: &OpCounterStd, elapsed_seconds: f32) -> f32 {
    native_neural_network::profiler::bytes_per_second(counter, elapsed_seconds)
}

pub fn arithmetic_intensity(counter: &OpCounterStd) -> f32 {
    native_neural_network::profiler::arithmetic_intensity(counter)
}