Hacker GitHub

← All repos

arogozhnikov/einops

View on GitHub ↗ ★ 9,631 Python

Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)

8 mentions on Hacker News by 7 people: 2 stories, 6 comments · first 2018-11-15 · latest 2025-09-24

Mentions per year 8 mentions · busiest year 2022 (3)
20082026
  1. Related - einops https://github.com/arogozhnikov/einops
    comment by jlukecarlson · 2025-09-24 · in How is einx notation universal?
  2. See also https://github.com/arogozhnikov/einops Having used these (mostly translating code that used them) I see the power and benefit. I also find it takes a lot of mentally energy to get my head around them and makes readability harder.
    comment by andy99 · 2024-04-27 · in Einsum for Tensor Manipulation
  3. Also see Einops: https://github.com/arogozhnikov/einops , which uses a einsum-like notation for various tensor operations used in deep learning. https://einops.rocks/pytorch-examples.html shows how it can be used to implement various…
    comment by teddykoker · 2022-04-10 · in A basic introduction to NumPy's einsum
  4. I would say https://github.com/arogozhnikov/einops should be pretty close to your requirments
    comment by machinekob · 2022-04-09 · in A basic introduction to NumPy's einsum
  5. …with something like einops [1] ( intuitive reshaping library) can be a huge time saver. [1] https://github.com/arogozhnikov/einops
  6. This is neat. However I've rather use einsum and einops [0] to reshape stuff in practice. [0] https://github.com/arogozhnikov/einops