Under which circumstances is it save to use a const pointer for torch::from_blob (via const cast)?
I do not intend to change the values through the tensor, but use slicing, indexing and broadcasting. So could pytorch change the underlying data in any way?
Would it be safe if I clone the tensor immediately?