-
#### Describe the bug
Computation of sparse robust pca crashes as it calls svd with unexpected keyword (`full_matrices`)
#### Steps or Code to Reproduce
Mostly copied from tensorly docs
```pytho…
dawe updated
8 months ago
-
below is my code
************************
import VBMF
import tensorly as tl
import tensorly.decomposition
import numpy as np
a=np.random.randint(100,size=(3,3,32,64))
b=tl.base.unfold(a,2)
c=…
-
I'm a bit lost in this awesome library, and could not find a suitable example, hence not sure if and how to use tensorly for a "simple" SVD decomposition for PyTorch tensors (if possible).
I.e
G…
-
[Condensa-FPBench](https://github.com/vinutah/Condensa-FPBench/tree/13ae249513ceedb1e9880533d3a405d061f937c0/tensorly/examples)
FPCore format is ideal, but we can convert from other languages for y…
-
We should incorporate the l2 regularization more efficiently without actually creating a diagonal matrix (Id*reg_l2) but instead directly augment the pseudo-inverse:
https://github.com/tensorly/tenso…
-
1. Delete `struct-marg`, `learnspn_b_test`
2. Merge `dev_tensorly` into `development`
3. Rename `development` into `main`
4. Branch off new `development` branch from `main`
-
Implements Kronecker product for tensors, just as `numpy.kron` does. This is required by module `tensorly`.
-
#### Steps or Code to Reproduce
```python
import tensorly as tl
import ivy
tl.set_backend("numpy")
a = tl.ones((2,3,4))
z = tl.decomposition.randomised_parafac(a, 2, 1, n_iter_max=1, init="svd",…
-
#### Describe the bug
When using Numpy backend, it seems that Tensorly tensors have no attribute "device".
#### Steps or Code to Reproduce
```python
import tensorly as tl
# works OK
tl.set_b…
-
https://github.com/tensorly/tensorly/blob/master/tensorly/decomposition/candecomp_parafac.py#L154
I think this line is wrong - there should be `factors` on the left hand side, not `factor`.