Skip to main content

Crate burn_import

Crate burn_import 

Source
👎Deprecated since 0.21.0:

burn-import ONNX functionality has moved to burn-onnx. Please migrate to burn-onnx directly.

Expand description

§burn-import (Legacy)

This crate is deprecated. ONNX import functionality has been moved to burn-onnx.

PyTorch and Safetensors model weights import has been replaced by burn-store. Check out the migration guide.

§Migration Guide

Replace your dependency:

# Before
burn-import = { version = "0.21", features = ["onnx"] }

# After
burn-onnx = "0.21"

Update your imports:

ⓘ
// Before
use burn_import::onnx::ModelGen;

// After
use burn_onnx::ModelGen;

For more information, see the burn-onnx documentation.

Modules§

burnDeprecated
The burn module for code generation (deprecated).
onnxDeprecated
The onnx module (deprecated).