Skip to content

theluckystrike/heytensor.com

Repository files navigation

HeyTensor

Free PyTorch tensor shape calculator, layer output debugger, and deep learning architecture explorer.

Use HeyTensor live

HeyTensor is a browser-based tensor shape calculator for deep learning practitioners. Compute output shapes for 14+ PyTorch and TensorFlow layer types, chain layers together to trace shapes through entire architectures, and debug PyTorch RuntimeErrors by pasting real stack traces. Built for ML engineers, researchers, and students who want instant answers without spinning up a Python kernel.

Features

  • Single-layer shape calculator for 14+ PyTorch layer types (Conv2d, Linear, LSTM, GRU, MultiheadAttention, BatchNorm, MaxPool2d, Flatten, Embedding, ConvTranspose2d, and more)
  • Chain mode for tracing tensor shapes through multi-layer neural network architectures
  • Paste Error mode that parses PyTorch RuntimeErrors and suggests targeted fixes
  • Architecture presets for LeNet-5, ResNet blocks, and Transformer encoders
  • Detailed formula display for every output dimension calculation
  • Model parameter counter and GPU memory estimator
  • Activation, loss function, and optimizer reference library
  • Einsum notation calculator for advanced tensor operations
  • 100% client-side — no data leaves your browser
  • MIT licensed
  • No signup, no tracking

Tools

Tool Description
Conv2d Calculator Calculate Conv2d output shapes with stride, padding, and dilation
Conv1d Calculator Calculate Conv1d output shapes for sequence models
ConvTranspose2d Calculator Transposed convolution output shapes for decoders
Linear Layer Calculator nn.Linear input and output dimension checker
LSTM Shape Calculator LSTM and GRU output shapes with hidden state dimensions
MultiHead Attention Calculator Transformer attention layer output shapes
MaxPool2d Calculator Max pooling output shape calculator
BatchNorm Calculator Batch normalization shape checker
Flatten Calculator Flatten operation output shape
Embedding Calculator nn.Embedding output shape for NLP models
mat1 and mat2 Shapes Fix Debug matrix multiplication shape errors
Shape Mismatch Debugger Diagnose tensor shape mismatch runtime errors
view size not compatible Fix Fix PyTorch view and reshape errors
CUDA Out of Memory Diagnose and resolve GPU OOM errors
Einsum Calculator Einstein summation notation helper
Activation Functions ReLU, GELU, Sigmoid, Tanh, and more reference
Loss Functions Cross-entropy, MSE, and other loss function reference
Optimizers Adam, SGD, AdamW optimizer comparison
Parameter Counter Count trainable parameters in your model
Memory Calculator Estimate GPU memory usage for training

Research

Tech Stack

  • Pure HTML, CSS, and vanilla JavaScript
  • No build step
  • No external dependencies (except Google Fonts on some pages)
  • Hosted on GitHub Pages with Cloudflare CDN

Part of Zovo Tools

HeyTensor is part of Zovo Tools — free developer tools by a solo developer. No tracking, no signup, no nonsense.

Other tools in the network:

  • EpochPilot — Timestamp, timezone, and cron tools
  • KappaKit — Developer toolkit (Base64, JWT, hash, regex)
  • LochBot — Prompt injection vulnerability checker
  • ABWex — A/B test significance calculator
  • KickLLM — LLM cost calculator
  • Gen8X — Color palette generator with WCAG checks
  • GPT0X — AI model database
  • ML3X — Matrix calculator
  • ML0X — Machine learning cheat sheet generator
  • Enhio — Text enhancement utilities
  • Krzen — Image compression
  • Kappafy — JSON formatter and explorer
  • LockML — Open source ML model comparison
  • InvokeBot — Webhook testing
  • ClaudHQ — Claude prompt library
  • ClaudKit — Claude API utilities
  • ClaudFlow — AI workflow builder

License

MIT licensed.

Contact

Built and maintained by Michael Lip. For questions or feedback: support@zovo.one

About

PyTorch Tensor Shape Calculator & Error Debugger -- compute output shapes for Conv2d, Linear, LSTM, and 14+ layer types. Chain mode, architecture presets, and RuntimeError debugging. Free browser-based deep learning tool.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors