YggNexus

HeyTensor

Fix PyTorch tensor shape errors instantly.

CodeModifierAnalyserDéveloppeurs

Tarification: free — Free with limitations · Visiter le site

HeyTensor is a web-based tool for calculating and debugging PyTorch tensor shapes. It supports over 14 layer types including Conv2d, Linear, LSTM, and more. Simply paste your error message to get instant fixes or use the calculator to explore different configurations.

Avantages

  • Instantly fix shape errors
  • Supports multiple PyTorch layers
  • Works directly in your browser

Inconvénients

  • Limited to PyTorch and TensorFlow
  • No advanced customization options
  • Free version may have limitations

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 align for multiplication.

Can I use this with TensorFlow models?

Yes, HeyTensor supports both PyTorch and TensorFlow.

Mis à jour le : 2026-06-21