|
Open3D (C++ API)
0.19.0
|
Open3D DLPack Tensor manager. More...
Static Public Member Functions | |
| static DLManagedTensor * | Create (const Tensor &o3d_tensor) |
| static void | Deleter (DLManagedTensor *arg) |
Open3D DLPack Tensor manager.
|
inlinestatic |
DLManagedTensor* dmlt is destroyed by calling dmlt->deleter(dmlt). The destruction happens when the DLPack python object goes out of scope, and ultimately it decreases the reference count to the actual data buffer (i.e. dmlt.manager_ctx->o3d_tensor_.GetBlob()) by 1.
|
inlinestatic |