TensorNetwork icon indicating copy to clipboard operation
TensorNetwork copied to clipboard

Fix trace for PyTorch backend

Open merajhashemi opened this issue 4 years ago • 3 comments

Currently, the trace operator for PyTorch only supports up to 25-dimensional inputs due to using einsum. This PR fixes this issue.

merajhashemi avatar Mar 25 '21 22:03 merajhashemi

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

google-cla[bot] avatar Mar 25 '21 22:03 google-cla[bot]

@googlebot I signed it!

merajhashemi avatar Mar 25 '21 22:03 merajhashemi

@merajhashemi thanks for the PR. Looks good from my side. The build error is some flaky in the jax-backend. Let me first fix this test and we'll merge this in then.

mganahl avatar Mar 26 '21 07:03 mganahl