Solved by albanD in post #2 
              
              
                Hi, 
Unfortuatly, from_blob can only take raw memory pointer (and size/stride informations). So you won’t be able to wrap complex data types inside a torch Tensor. 
But if one copy is ok, you can dump it into a new contiguous memory buffer and use that.