Torch::from_blob using different memory address


torch::from_blob takes a pointer to the data that you want to turn into tensor.

However, is there a way to collect multiple pointers at different location in the memory to create one contiguous tensor? (in another word, how can I combine multiple arrays in a single call?)