HeyTensor is a free tensor shape calculator for deep learning practitioners. Calculate output shapes for 14 PyTorch and TensorFlow layer types, chain layers together to trace shapes through entire architectures, debug shape mismatch errors by pasting PyTorch RuntimeErrors, and explore architecture presets like LeNet-5, ResNet, and Transformers.
- Single-layer shape calculator for 14 layer types (Conv2d, Linear, LSTM, etc.)
- Chain mode for tracing shapes through multi-layer architectures
- Paste Error mode that parses PyTorch RuntimeErrors and suggests fixes
- Architecture presets: LeNet-5, ResNet Block, Transformer encoder
- Supports Conv2d, Conv1d, Linear, LSTM, GRU, MultiheadAttention, and more
- Detailed formula display for every output dimension calculation
- 100% client-side -- your data never leaves your browser
- Open source -- inspect the code yourself
- Conv2d Calculator -- Calculate Conv2d output shapes
- Conv1d Calculator -- Calculate Conv1d output shapes
- ConvTranspose2d Calculator -- Transposed convolution shapes
- Linear Layer Calculator -- nn.Linear output shapes
- LSTM Shape Calculator -- LSTM and GRU output shapes
- MultiHead Attention Calculator -- Attention layer shapes
- MaxPool2d Calculator -- Max pooling output shapes
- BatchNorm Calculator -- Batch normalization shapes
- Flatten Calculator -- Flatten operation output shapes
- Embedding Calculator -- nn.Embedding output shapes
- mat1 and mat2 Shapes Fix -- Fix matrix multiplication errors
- Shape Mismatch Debugger -- Debug tensor shape mismatches
- view size not compatible Fix -- Fix view/reshape errors
- CUDA Out of Memory -- Debug GPU memory errors
- Einsum Calculator -- Einstein summation notation helper
- Activation Functions -- Activation function reference
- Loss Functions -- Loss function reference and guide
- Optimizers -- Optimizer comparison and reference
- Parameter Counter -- Count model parameters
- Memory Calculator -- Estimate model GPU memory usage
- Vanilla JavaScript (no frameworks, no build step)
- Static HTML hosted on GitHub Pages
- Cloudflare DNS + SSL
- Zero dependencies, zero tracking, zero cookies
HeyTensor is part of Zovo Tools -- a collection of free developer tools.
Other tools in the network:
- EpochPilot -- Epoch & timestamp converter, timezone tools & cron parser
- LochBot -- Prompt injection vulnerability checker for chatbots
- KappaKit -- Developer toolkit (Base64, JWT, hash, UUID, regex & more)
- ABWex -- A/B test statistical significance calculator
- Gen8X -- Color palette generator with CSS, Tailwind & SCSS export
- KickLLM -- LLM API cost calculator & provider comparison
- LockML -- Open source ML model comparison table
- ClaudKit -- Claude API playground & request builder
- ClaudFlow -- AI workflow builder & visual prompt chain editor
- ClaudHQ -- Claude prompt library with 30+ ready-to-use templates
- ML3X -- Matrix calculator with step-by-step solutions
- ML0X -- Machine learning cheat sheet generator
- Krzen -- Image compressor, resizer & format converter
- Kappafy -- JSON explorer & mock API generator
- InvokeBot -- Webhook request builder & HTTP client
- GPT0X -- AI model database & comparison tool
- Enhio -- Text enhancement tool & readability analyzer
MIT