Skip to main content

default_eager_ctx

Function default_eager_ctx 

Source
pub fn default_eager_ctx() -> Arc<EagerContext<CpuBackend>>
Expand description

Return the process-global eager context used for reverse-mode AD.

This context owns a separate CpuBackend from with_default_backend and the cached execution engine, but all backends share the same process-global tenferro CPU context.