ITADN
theluckystrike/heytensor.com
theluckystrike/heytensor.com · 文件
文件最后提交记录最后更新时间
README.md

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

ToolDescription
Conv2d CalculatorCalculate Conv2d output shapes with stride, padding, and dilation
Conv1d CalculatorCalculate Conv1d output shapes for sequence models
ConvTranspose2d CalculatorTransposed convolution output shapes for decoders
Linear Layer Calculatornn.Linear input and output dimension checker
LSTM Shape CalculatorLSTM and GRU output shapes with hidden state dimensions
MultiHead Attention CalculatorTransformer attention layer output shapes
MaxPool2d CalculatorMax pooling output shape calculator
BatchNorm CalculatorBatch normalization shape checker
Flatten CalculatorFlatten operation output shape
Embedding Calculatornn.Embedding output shape for NLP models
mat1 and mat2 Shapes FixDebug matrix multiplication shape errors
Shape Mismatch DebuggerDiagnose tensor shape mismatch runtime errors
view size not compatible FixFix PyTorch view and reshape errors
CUDA Out of MemoryDiagnose and resolve GPU OOM errors
Einsum CalculatorEinstein summation notation helper
Activation FunctionsReLU, GELU, Sigmoid, Tanh, and more reference
Loss FunctionsCross-entropy, MSE, and other loss function reference
OptimizersAdam, SGD, AdamW optimizer comparison
Parameter CounterCount trainable parameters in your model
Memory CalculatorEstimate 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