Create Vizstack visualizations of Pytorch models.
Project description
vz-pytorch
Computation graph library for Pytorch models, built with Vizstack.
Usage
This library allows you to produce a computation graph for Pytorch models that use autograd.
- Import the necessary functions:
from vz_pytorch import start, finish
. - Begin recording the graph:
start(model)
. - Execute your model:
model(inputs)
. - Finish recording:
graph = finish()
The graph
object has __view__()
defined to produce the computation graph using Vizstack.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vz-pytorch-0.1.3.tar.gz
(6.6 kB
view hashes)