Skip to main content

with_default_backend

Function with_default_backend 

Source
pub fn with_default_backend<R>(f: impl FnOnce(&mut CpuBackend) -> R) -> R
Expand description

Run a closure against the process-global CPU backend.

This is the canonical entry point for typed and untyped tenferro tensor operations inside tensor4all-tensorbackend.