Skip to content

Instantly share code, notes, and snippets.

@BilHim
Created June 22, 2020 17:24
Show Gist options
  • Save BilHim/7af3b526f2e3aacf67b0da63326d849e to your computer and use it in GitHub Desktop.
Save BilHim/7af3b526f2e3aacf67b0da63326d849e to your computer and use it in GitHub Desktop.
Matrix product using einsum
np.einsum("ik,kj->ij", A, B)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment