Hi,
When I print a tensor in QDense format, the result is as follows:
A----size(): 136
A----offsets: Block: 0,0,0, Offset: 0
Block: 1,2,0, Offset: 12
Block: 1,0,1, Offset: 20
Block: 0,1,1, Offset: 68
Block: 2,2,1, Offset: 76
Block: 2,0,2, Offset: 88
Block: 1,1,2, Offset: 115
Block: 3,2,2, Offset: 127
Block: 3,0,3, Offset: 130
Block: 2,1,3, Offset: 133
The size of each dimension is: 10 x 5 x 10 (by reviewing the dim in Con.Lis/Con.Ris/Con.Nis). There will be 500 elements (10x5x10) and 136 dense elements (A.size()) in this 3-order tensor. I have three questions:
1) What is the block size in this case? For example, the number of elements between blocks (1,0,1) and (0,1,1) is 68 - 20 = 48. Also, how many blocks in this case?
2) How to map the index of block (4 x 3 x 4?) to the coordination (10 x 5 x 10) in the COO format?
3) Is the block size fixed for all blocks?
Thank you so much in advance for any comments!