Public API: torchdyn package¶
Subpackages¶
Submodules¶
torchdyn.utils module¶
General plotting utilities. These are used in tutorials and are designed for narrow uses.
- torchdyn.utils.plot_2D_depth_trajectory(s_span, trajectory, yn, n_samples=128)[source]¶
Plots 2-dimensional trajectories of points.
- torchdyn.utils.plot_2D_space_depth(s_span, trajectory, yn, n_lines)[source]¶
Plots 2D trajectories in a 3D space (2 dimensions of the system + time).
- torchdyn.utils.plot_2D_state_space(trajectory, yn, n_samples=128)[source]¶
Plots state-space trajectories.
- torchdyn.utils.plot_2d_boundary(model, X, y, mesh, num_classes=2, figsize=(8, 4), alpha=0.8)[source]¶
Plots decision boundary of a 2-dimensional task
- torchdyn.utils.plot_2d_flows(trajectory, num_flows=2, figsize=(8, 4), alpha=0.8)[source]¶
Plots datasets flows learned by a neural differential equation.