aihwkit.utils.visualization_web module
Visualization utilities (web).
- aihwkit.utils.visualization_web.plot_device_compact_web(device, w_noise=0.0, n_steps=None, n_traces=3)[source]
Plots a compact step response figure for a given device (preset).
Note
It will use an amount of read weight noise
w_noise
for reading the weights.- Params:
device: PulsedDevice parameters w_noise: Weight noise standard deviation during read n_steps: Number of steps for up/down cycle n_traces: Number of traces to plot (for device-to-device variation) show: if True, displays the figure.
- Returns:
the compact step response figure.
- Parameters:
device (PulsedDevice) –
w_noise (float) –
n_steps (int | None) –
n_traces (int) –
- Return type:
Figure | Axes