tensor-sensor
tensor-sensor copied to clipboard
The goal of this library is to generate more helpful exception messages for matrix algebra expressions for numpy, pytorch, jax, tensorflow, keras, fastai.
There is some overlap with these boxes:  ```python import torch import tsensor n = 200 # number of instances d = 764 # number of instance features nhidden =...
The following code generates an exception but instead of showing the result of the operand subexpressions, it shows all bits of it:  ```python import torch import tsensor n =...
The following exception not only generates a huge stack trace but also TensorSensor gives an error message augmentation indicating that `Y = model(X)` is the issue because it does not...
I'd like to see what is happening with my torch module, and it's submodules. But I only get the toplevel: 
**great works!** debug these math expression code is a very big problem not only scalar vector matrix , high rank tensor support ### Visualizing 3D tensors and beyond: TensorDim is...
PyTorch: use `with torch.no_grad()` to prevent messing up autograd computations.