torch-shapeguard

ShapeGuard allows you to very succinctly assert the expected shapes of tensors in a dynamic, einsum inspired way.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install torch-shapeguard

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
1.0.3 2021-04-08  
1.0.2 2020-09-04
1.0.1 2020-09-04
1.0.0 yanked 2020-09-04

Issues with this package?

Page last updated 2025-07-17 18:39:50 UTC