3 ms·
I had been working on a library for visualizing tensor contractions (so-called Penrose tensor diagrams), https://github.com/Quantum-Flytrap/tensor-diagrams http
by stared 2y ago
I had been working on a library for visualizing tensor contractions (so-called Penrose tensor diagrams), https://github.com/Quantum-Flytrap/tensor-diagrams https://github.com/Quantum-Flytrap/tensor-diagrams, with an example (a tutorial stub) https://p.migdal.pl/art-tensor-diagrams/ https://p.migdal.pl/art-tensor-diagrams/.
My background is in quantum physics, and it is a useful tool for understanding some aspects of entanglement. Here, the idea was to show its use in machine learning in general and deep learning in particular.
- thomasahle 2y agoAwesome! Are you able to handle sums of diagrams like (-M- + -a b-)-c etc?
- stared 2y agoThanks! Right now, it does not. I focus on a common case of a single product without any other parts. If there is a summation, it is managed via indices. If you are interested in arbitrary drawings, you are probably aware of TikZ (if you like coding) or Excalidraw.