HeyTensor
Fix PyTorch tensor shape errors quickly.
Pricing: free — Free to use in browser · Visit website
HeyTensor is a web-based tool that helps you calculate and debug tensor shapes for various layers in PyTorch models. It supports Conv2d, Linear, LSTM, and more, allowing you to chain layers and explore architecture presets. Simply paste your error message to get instant fixes.
Pros
- Instantly fix tensor shape errors
- Supports multiple layer types
- Works directly in your browser
Cons
- Limited to PyTorch models only
- No advanced customization options
FAQ
How do I calculate Conv2d output shape?
Use the formula: H_out = floor((H_in + 2*padding - dilation*(kernel_size-1) - 1) / stride) + 1.
Why does PyTorch say mat1 and mat2 shapes cannot be multiplied?
Mismatch in the number of columns in mat1 and rows in mat2. Ensure they match for Linear layers.
Is HeyTensor free to use?
Yes, it's free and runs directly in your browser.
Top alternatives
AI video generator for creating stunning videos.
HeyGen offers freemium multimedia creation, similar to HeyTensor's free web-based AI services.
Track updates for AI coding tools like Claude Code and Copilot.
Havoptic offers a freemium model with developer-focused tools, complementing HeyTensor's free web-based service.
AI-powered video creator for quick, customizable spokesperson videos.
HeyGen offers freemium multimedia creation, similar to HeyTensor's free web-based AI services.
PyGPT is an open-source AI assistant for Windows, macOS, and Linux.
PyGPT offers both free and premium tiers, providing more advanced features than HeyTensor's free plan.
AI-driven video and image generator for content creators.
HeyVid offers video editing and multimedia features, while HeyTensor focuses on web development and AI integration.
Last updated: 2026-09-15

