AI TOOL / #11835
tensorViz
从源码直接画出PyTorch模型结构
Introduction
tensorViz 解决一个很具体的问题:看懂一个 PyTorch 模型到底长什么样。
以往要可视化网络结构,通常得先把模型导出成 ONNX 或者走 torch.export,稍微复杂一点的模型导出就报错。tensorViz 直接从 Python 源码打开 nn.Module,画成一张可交互的图,每条边上标的是实际量出来的张量形状,点节点能跳回对应的源码。
它是编辑器扩展,VS Code、Cursor 和 VSCodium 都能装,一条命令搞定。
另外提供了一个给编程智能体用的插件。让 AI 改模型结构时,它可以先「看」到网络的图和各层形状,少犯维度对不上的错。
代码放在 GitHub 上。读别人的模型代码、调试形状不匹配、给论文画结构图的时候都用得着。只做推理不碰模型内部的人不需要它。
Related
AI Real Estate Agent – reAlpha
An AI-powered real estate application that offers commission-free home purchases and 24/7 AI support.
Paseet
A real estate AI assistant that provides instant reliable information and seamless decision-making.
Afford NYC: Find your affordable home
A Chrome extension for finding rent-stabilized apartments in NYC with 98% accuracy.
HomeScore
An AI-powered home purchasing assistant that helps users make more informed decisions and save money.
Anyone.com
Anyone.com simplifies the home buying and selling process with transparency and AI-powered agent matching.
Lettria
Lettria uses AI and GraphRAG to turn unstructured data into structured knowledge.