TTcross with fixed rank
Bug #1560160 reported by
Daniele Bigoni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TensorToolbox - Python |
Fix Released
|
High
|
Daniele Bigoni |
Bug Description
Email from a user:
-------
I think there is a bug in the latest 1.0.15 version.
It is triggered when you want to get TT format of a tensor, meanwhile you want to set the rank to a fixed value.
It happens in line “TensorTrainVec.py” line 1256 – 1257
self.TT = Gnew
self.init = True
These two lines should be within “INCREMENTAL=True” rather than be out of the “if-else” statement.
Otherwise, when “INCREMENTAL=
"local variable 'Gnew' referenced before assignment"
I fix this by adding one-indents to those two lines, and it works fine.
Related branches
Changed in tensortoolbox: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.