[FEA]: Add the ability to cast a Python instance of TensorMemory
to a C++ instance
#717
Loading
TensorMemory
to a C++ instance
#717