Expand description
Graph executor — runs .sw programs on the tensor runtime.
Re-exports§
pub use jit::compile_graph;pub use jit::load_jit;pub use jit::CompileStats;pub use jit::CompiledGraph;pub use jit::Instruction;pub use jit::JitExecutor;pub use jit::JitResult;pub use jit::MemoryPlan;
Modules§
Structs§
- Epoch
Log - Log for a single training epoch.
- Exec
Result - The result of executing a graph.
- Executor
- Executes IrProgram graphs on the Shrew tensor runtime.
- Runtime
Config - Runtime configuration for resolving symbolic dimensions and execution mode.
- Train
Result - Summary of a full training run.
- Trainer
- High-level training loop runner.
Functions§
- load_
program - Parse, lower, validate, optimize, and prepare an executor from .sw source.
- load_
trainer - Parse, lower, validate, optimize, and prepare a trainer from .sw source.