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
//! Records tensor operations as IR and forwards them to wherever they execute.
//!
//! [`BackendRouter`] is a backend whose operations are not run in place: each one is
//! described as `burn_ir::OperationIr` and sent through a [`RouterChannel`] to a client. On
//! the receiving side, a [`TensorInterpreter`] replays the operations on a real backend.
//!
//! This is the layer under Burn's remote execution (`burn-remote` sends the operations over
//! the network) and graph capture (`burn-capture` records them without executing). Custom
//! operations from backend extensions travel through a [`CustomOpRegistry`].
//!
//! Applications do not use this crate directly.
//!
//! # Feature flags
//!
//! - `std` (default): standard library support. Without it the crate is `no_std` with `alloc`.
//! - `fusion`: fuse routed operations before they are sent.
//! - `tracing`: instrument operations with the `tracing` crate.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
extern crate alloc;