Tensor V2
The aim of this issue is tu mutualize several Tensor related issues and propose a corresponding design that is, so far, partially implemented in !13 (closed).
aidge#8 (closed) function removed in !13 (closed)
aidge#24 (closed)
aidge#25 (closed) partially addressed in !13 (closed)
aidge#26 (closed) addressed in !13 (closed)
#5 (closed) addressed in !13 (closed)
#6 (closed) addressed in !13 (closed)
#12 (closed)
#13 (closed)
#14 (closed) partially addressed in !13 (closed)
#17 (closed)
#18 (closed) addressed in !13 (closed)
#21 (closed)
#22 (closed)
#23 (closed)
#26 addressed in !13 (closed)
#28 (closed) partially addressed in !13 (closed)
#29 (closed)
#32 (closed) addressed in !13 (closed)
#35 (closed)
#38 (closed) partially addressed in !13 (closed)
A proposed design would be
Tensor
// active area description
first data coordinates in active area
dimensions of the active area
// stored area description
first data coordinates in stored area
dimensions of the stored area
data type
backend
storage object // actual type depending of backend
Storage object represents raw storage that knows nothing about the Tensor.
In !13 (closed) TensorImpl
partially correspond to the stored area description.
An open issue is how to have an efficient access to backend-independant data in the TensorImpl
as both TensorImpl
concrete objects and Tensor
may need these informations.