Skip to main content

Module visualization

Module visualization 

Source
Expand description

Visualization module for TrustformeRS debugging tools

This module has been refactored into focused submodules to comply with the 2000-line policy. The original visualization.rs (2843 lines) has been split into:

  • types - Basic visualization types, enums, and data structures
  • Additional modules to be created as needed for terminal, video, etc.

Re-exports§

pub use modern_plotting::*;
pub use types::*;

Modules§

ascii_tools
ASCII-based visualization tools for loss curves, gradient histograms, layer activation statistics, and attention pattern inspection.
gradient_animation
Animated gradient flow visualization.
modern_plotting
Modern Plotting Engine
svg_render
Dependency-free SVG rendering for crate::visualization::DebugVisualizer.
types
Basic visualization types, enums, and data structures

Structs§

DebugVisualizer
Debug visualizer that renders real plot documents to disk.
RenderedPlot
One rendered plot: its source data, the document that was actually written, and where it was written to.
TerminalVisualizer
Simple terminal-based visualizer

Enums§

PlotSource
A plot’s source data, kept so exports and dashboards work off the real numbers rather than a re-derived guess.