Skip to main content

Crate burn_onnx

Crate burn_onnx 

Source
Expand description

burn-onnx is a crate designed to simplify the process of importing models trained in other machine learning frameworks into the Burn framework via the ONNX format. It generates the Rust source code that aligns the imported model with Burn and converts tensor data into a compatible format.

Modules§

burn
The module for generating the burn code.

Structs§

ModelGen
Builder for generating Burn model code from ONNX files.

Enums§

LoadStrategy
Controls how model weights are loaded at runtime.

Functions§

format_tokens
Formats a token stream into a string.