1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! # burn-import (Legacy)
//!
//! **This crate is deprecated.** ONNX import functionality has been moved to
//! [`burn-onnx`](https://crates.io/crates/burn-onnx).
//!
//! PyTorch and Safetensors model weights import has been replaced by
//! [`burn-store`](https://crates.io/crates/burn-store).
//! Check out the [migration guide](https://github.com/tracel-ai/burn/blob/main/crates/burn-store/MIGRATION.md).
//!
//! ## Migration Guide
//!
//! Replace your dependency:
//!
//! ```toml
//! # Before
//! burn-import = { version = "0.21", features = ["onnx"] }
//!
//! # After
//! burn-onnx = "0.21"
//! ```
//!
//! Update your imports:
//!
//! ```ignore
//! // Before
//! use burn_import::onnx::ModelGen;
//!
//! // After
//! use burn_onnx::ModelGen;
//! ```
//!
//! For more information, see the [burn-onnx documentation](https://docs.rs/burn-onnx).
/// The onnx module (deprecated).
///
/// Use [`burn_onnx`] directly instead.
/// The burn module for code generation (deprecated).
///
/// Use [`burn_onnx::burn`] directly instead.
// Re-export main types at crate root for convenience during migration
pub use ModelGen;