Other articles


  1. Sizecheck: Making Tensor Code Self-Documenting with Runtime Shape Validation

    Writing neural networks often feels like juggling tensors in the dark. You know that attention_weights should be 4-dimensional, but PyTorch won't tell you until your matrix multiplication explodes at runtime. What if your variable names could automatically validate tensor shapes?

    Meet sizecheck – a Python decorator that for automatic runtime validation …

    read more