Open3D (C++ API)  0.18.0+3975044
Static Public Member Functions
open3d::core::Open3DDLManagedTensor Class Reference

Open3D DLPack Tensor manager. More...

Static Public Member Functions

static DLManagedTensorCreate (const Tensor &o3d_tensor)
 
static void Deleter (DLManagedTensor *arg)
 

Detailed Description

Open3D DLPack Tensor manager.

Member Function Documentation

◆ Create()

static DLManagedTensor* open3d::core::Open3DDLManagedTensor::Create ( const Tensor o3d_tensor)
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.

◆ Deleter()

static void open3d::core::Open3DDLManagedTensor::Deleter ( DLManagedTensor arg)
inlinestatic

The documentation for this class was generated from the following file: