Hi,
When the Tensor is created with from_blob, it does not actually release the memory when it is destroyed (it does not know how it was allocated).
It is your responsibility to make sure the blob stays valid at least as long as the Tensor uses it.