Tucker toolbox for Riemannian optimization.
Project description
Tucker Riemopt
Python implementation of the Tucker toolbox. Package allows users to manipulate tensors in Tucker and SF-Tucker [1] formats. It also provides tools for implementing first-order optimization methods of the Riemannian optimization on the manifolds of tensors of fixed Tucker rank or fixed SF-Tucker rank. For instance, package implements a method for efficiently computing the Riemannian gradient of any smooth function via automatic differentiation.
The library is compatible with several computation frameworks, such as PyTorch and JAX, and can be easily integrated with other frameworks.
Installation
NumPy, SciPy, PyTorch and opt-einsum are required for installation. Additionally, you need to install your special computation framework (e.g. JAX).
Quick start
See examples folder to dive into tucker_riemopt basics.
- backend notebook contains a guide, how to use different computational frameworks for both routine operations and computations requires autodiff;
- eigenvalues notebook contains a basic guide for performing riemannian optimization on manifold of tensors of fixed multilinear rank using this package;
Documentation
Detailed information may be found here.
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tucker_riemopt-1.0.0.tar.gz.
File metadata
- Download URL: tucker_riemopt-1.0.0.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-39-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c28aef91414b85041e79488692e97a46012a518dbf9528cd4ad05805b13d7191
|
|
| MD5 |
5b3d9d63d7cc5df40d8b7638d28cfc87
|
|
| BLAKE2b-256 |
0ae3c8bde6135909d56f08000d290c2e2ad784e480afb844583cea3e25212408
|
File details
Details for the file tucker_riemopt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tucker_riemopt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-39-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9487e34b65c7cbe355d5fbdf4b581cd0b9f1200f59c8a03bbe4599d5734329e
|
|
| MD5 |
fa6a0df0482d3a7216f2df2e68ceb66f
|
|
| BLAKE2b-256 |
be6d8ca1a9818aa1fb9b0c10c4e7700e3449ffed1b77a2e0d7ed979f4843cea9
|