Struct TensorMemoryPool::Lease#

Nested Relationships#

This struct is a nested type of Class TensorMemoryPool.

Struct Documentation#

struct Lease#

Public Functions

inline void AllocData(DLTensor *tensor)#
inline void FreeData(DLTensor*)#

Public Members

ffi::ObjectPtr<TensorMemoryPool> pool#
ffi::Tensor backing#