Skip to main content

Module config

Module config 

Source
Expand description

Burn runtime configurations.

Modules§

autodiff
Autodiff config module.
fusion
Fusion config module.

Structs§

BurnConfig
Represents the global configuration for Burn.
Logger
Central logging utility for Burn, managing one sink registry shared across subsystems.
LoggerConfig
Configuration for a log sink, parameterized by a subsystem-specific log level.
LoggerSinks
Registry of log sinks, deduplicating by output target so that multiple subsystems can share a single file or stdout/stderr stream.

Enums§

LogCrateLevel
Log levels forwarded to the log crate.

Traits§

LogLevel
Trait for types usable as a subsystem-specific log level.
RuntimeConfig
Trait for runtime configurations potentially loaded from a TOML file.

Functions§

config
Returns the current BurnConfig, cached in thread-local storage on native targets.
log_autodiff
Emit an autodiff log message when the configured level is at least level.
log_fusion
Emit a fusion log message when the configured level is at least level.