hal.utils.visualization_utils¶
display ¶
display(hal, save=False, path=None, tiers=None)
Displays an interactive graph of the mapping for each tier.
display_gif ¶
display_gif(
hal, tier_ind, save=False, path=None, fps=1, step=1
)
Creates an animated GIF of the routing process for a specific tier.
display_grids ¶
display_grids(
hal, save=False, grid_inds=None, path=None, dpi=None
)
Displays and optionally saves grid images for each tier.
display_line_plot ¶
display_line_plot(hal)
Plots nodes and routed edges as a static line plot for each tier.
plot_sweep_results ¶
plot_sweep_results(results_df, sweep_params)
Visualizes the impact of each swept parameter on hardware complexity.
This function generates a grid of box plots, with one plot for each parameter in the sweep, showing its effect on the hardware_complexity score.
Args: results_df: The DataFrame returned by the benchmark_sweep method. sweep_params: The dictionary of parameters that was used to run the sweep.