dgasmith / opt_einsum

⚡️Optimizing einsum functions in NumPy, Tensorflow, Dask, and more with contraction order optimization.
https://dgasmith.github.io/opt_einsum/
MIT License
863 stars 68 forks source link

stateful path optimizers check args + minor doc tweaks #141

Closed jcmgray closed 4 years ago

jcmgray commented 4 years ago

Description

Explicitly check that stateful path optimizers are called with the same arguments on repeat runs (should resolve #137), and error otherwise. I also updated the contract docstring with the newer optimize options, and renamed a (purely internal) variable dimension_dict -> size_dict for consistency with code elsewhere.

Status

codecov[bot] commented 4 years ago

Codecov Report

Merging #141 into master will increase coverage by 0.01%. The diff coverage is 100.00%.