Live data from Hacker News

Show HN: Library to visualize and inspect PyTorch models

github.com

1–3 of 3 posts

Re: Show HN: Library to visualize and inspect PyTorch models

#3

Not an expert on ML model, what does the smallest box represent exactly? Function calls?

Each box is a torch module[1], which can technically encapsulate any amount of computation or contain sub-modules. The smallest boxes or leaf nodes are those that contain no sub-modules. They can still run an arbitrary number of functions depending on the node.

[1] https://pytorch.org/docs/stable/generated/torch.nn.Module.ht...