Skip to content

About

Optimize the order of execution for tf.einsum

Resources

Stars

14 stars

Watchers

2 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Optimizing TF's einsum function

Einsum is a very powerful function for contracting tensors of arbitrary dimension and index. However, on TensorFlow it is implemented as a sequence of matrix-by-matrix multiplication in the order of arguments, so if you provide the arguments in a non-optimal order, einsum maybe very slow.

For example usage see example.ipynb.

About

Optimize the order of execution for tf.einsum

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages