Usage Examples

Usage Examples#

This page contains example visualizations using VisualTorch. Click on any image to see the full image and source code.

Flow#

These examples cover flow-style visualization

2D View

2D View

Basic Custom

Basic Custom

Basic Sequential

Basic Sequential

Color Palettes

Color Palettes

Custom Color

Custom Color

Custom Opacity

Custom Opacity

Custom Orientation

Custom Orientation

Custom Shading

Custom Shading

Custom Spacing

Custom Spacing

Dark Background

Dark Background

Higher Resolution

Higher Resolution

Ignore Layers

Ignore Layers

Multi-Branch Merge (Inception-style)

Multi-Branch Merge (Inception-style)

Multi-Input Model (Siamese-style)

Multi-Input Model (Siamese-style)

Multi-Output Layer Shapes

Multi-Output Layer Shapes

ResNet-18

ResNet-18

Residual Block

Residual Block

U-Net

U-Net

Vision Transformer (ViT)

Vision Transformer (ViT)

Graph#

These examples cover visualization via graph view

Basic Dense

Basic Dense

Color Palettes

Color Palettes

Custom Color

Custom Color

Custom Node Size

Custom Node Size

Custom Opacity

Custom Opacity

Custom Spacing for Layers

Custom Spacing for Layers

Dark Background

Dark Background

Hiding Individual Neurons

Hiding Individual Neurons

Higher Resolution

Higher Resolution

Multi-Branch Merge (Inception-style)

Multi-Branch Merge (Inception-style)

Multi-Input Model (Siamese-style)

Multi-Input Model (Siamese-style)

Multi-Output Layer Shapes

Multi-Output Layer Shapes

ResNet-18

ResNet-18

U-Net

U-Net

Vision Transformer (ViT)

Vision Transformer (ViT)

LeNet Style#

These examples cover LeNet style visualization

Basic Custom

Basic Custom

Color Palettes

Color Palettes

Custom Color

Custom Color

Custom Opacity

Custom Opacity

Custom Orientation

Custom Orientation

Custom Shading

Custom Shading

Custom Spacing

Custom Spacing

Dark Background

Dark Background

Higher Resolution

Higher Resolution

Ignore Layers

Ignore Layers

LeNet Style Basic Sequential

LeNet Style Basic Sequential

Multi-Branch Merge (Inception-style)

Multi-Branch Merge (Inception-style)

Multi-Input Model (Siamese-style)

Multi-Input Model (Siamese-style)

Multi-Output Layer Shapes

Multi-Output Layer Shapes

ResNet-18

ResNet-18

Residual Block

Residual Block

U-Net

U-Net

Vision Transformer (ViT)

Vision Transformer (ViT)

Gallery generated by Sphinx-Gallery