Up next

Einsum Is All You Need: NumPy, PyTorch and TensorFlow

2,106,338 Views· 12/15/22
Generative AI
Generative AI
3 Subscribers
3

In this video I explain how Einstein Summation (einsum) works and why it is amazing, at the end of the video you too will realize that einsum is all you need. It works similar in all libraries with the following function call: torch.einsum, tf.einsum, numpy.einsum (pytorch, tensorflow, numpy).

Video title was recklessly stolen from the following blogpost which I was inspired by (read it!):
https://rockt.github.io/2018/04/30/einsum

Also looked quite a bit at:
https://obilaniu6266h16.wordpr....ess.com/2016/02/04/e
https://ajcr.net/Basic-guide-to-einsum/

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

OUTLINE:
0:00 - Introduction
0:15 - What, Why and How
6:48 - Code examples
16:04 - Ending

Show more

 0 Comments sort   Sort By


Up next