Maxim Rakhuba

Results 3 comments of Maxim Rakhuba

This can be done using combination of reshape and permute functions (both are in tools.py): ```python def mat2vec(A): crs_mat = tt.matrix.to_list(A) crs_vec = [] for cr in crs_mat: r1, n,...

```tt.permute``` does not utilize anything besides standard numpy functions. So no problem to simply copy it. Note however, that it contains ```vector.from_list(cores)```, which can be simply replaced by ```tensor.from_list``` in...

The problem is that in my example the resulting matrix will have full rank independently of the method you choose to get it. I do not know your particular application,...