Tensornetwork

Latest version: v0.4.4

Safety actively analyzes 630026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.0.5

* Added `net.switch_backend` method
* Fixed an SVD bug when the backend is either `numpy` or `jax`

0.0.4

* Added the `greedy` contraction algorithm. This will greedily contract the lowest cost node pair first.
* Added the `bucket` contraction algorithm. This algorithm is optimized for tensor networks with a lot of copy tensors.
* Upgraded the `naive` contraction algorithm. Now it should work even after some edge have been contracted.
* Added the `` operator. Doing `node1 node2` is equal to running `net.contract_between(node1, node2)`
* Added `graphviz` visualization integration. Simply do `tensornetwork.to_graphviz(net)` to get a graphviz object that is isomorphic to your network.
* Added `net.remove_node(node)` method.
* Added `node.shape` and `edge.dimension` properties.
* Improved TF 2.0 beta compatibility.

0.0.3

- Added support for JAX and NumPy backends.
- Added new `tensordot2` that compiles ~20% faster than `tf.tensordot`

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.