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).
Package may be installed using
pip install tucker_riemopt
We recommend use poetry for installation, as preferred computational framework may be specified by
poetry install -E torch
or
poetry install -E jax
for PyTorch/JAX correspondingly.
Use cases
See this repository for examples of package usage.
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-0.0.2.tar.gz.
File metadata
- Download URL: tucker_riemopt-0.0.2.tar.gz
- Upload date:
- Size: 24.5 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 |
5b55cb1a2def73d358bd2e444056d7c94c4075fdf61ef68a230512f76aed3a3c
|
|
| MD5 |
f53250df0609a5d48a7e6a8815aa1866
|
|
| BLAKE2b-256 |
6010d457090784f34c7cd7127d1686d403d53bf854c8f1550837a89cde74d2cc
|
File details
Details for the file tucker_riemopt-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tucker_riemopt-0.0.2-py3-none-any.whl
- Upload date:
- Size: 30.5 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 |
6ae045454aa36d4fb254e15388d6ae72be759a96e92a1d8a9bec65b5e3a55bbc
|
|
| MD5 |
04afc7394b62fc9739e05d546dafc5b3
|
|
| BLAKE2b-256 |
57c1a88e61869e6140ba33fcba4048e8cc85120e0438a823e4ecae07633e8794
|