Interesting project! There is a similar concept/implementation of Neural Types in NVIDIA NeMo <a href="https://github.com/NVIDIA/NeMo/blob/main/tests/core/test_typecheck.py" rel="nofollow">https://github.com/NVIDIA/NeMo/blob/main/tests/core/test_typ...</a> that you might find interesting