MCPcopy Create free account

hub / github.com/dmlc/dlpack / types & classes

Types & classes16 in github.com/dmlc/dlpack

↓ 1 callersClassDLDevice
Represents the device where DLTensor memory is allocated. The device is represented by the pair of fields: device_type: DLDeviceType
apps/numpy_dlpack/dlpack/dlpack.py:40
↓ 1 callersClass_Holder
A wrapper that combines a pycapsule and array_interface for consumption by numpy. Parameters ---------- array_interface : dict A
apps/numpy_dlpack/dlpack/to_numpy.py:41
↓ 1 callersClass_Holder
A wrapper around a numpy array to keep track of references to the underlying memory. Parameters ---------- np_array : np.ndarray
apps/numpy_dlpack/dlpack/from_numpy.py:15
ClassDLDataType
Descriptor of data type for elements of DLTensor. The data type is described by a triple, `DLDataType.type_code`, `DLDataType.bits`, and `DLDa
apps/numpy_dlpack/dlpack/dlpack.py:72
ClassDLDataTypeCode
An integer that encodes the category of DLTensor elements' data type.
apps/numpy_dlpack/dlpack/dlpack.py:52
ClassDLDeviceType
The enum that encodes the type of the device where DLTensor memory is allocated.
apps/numpy_dlpack/dlpack/dlpack.py:6
ClassDLManagedTensor
Structure storing the pointer to the tensor descriptor, deleter callable for the tensor descriptor, and pointer to some additional data. These
apps/numpy_dlpack/dlpack/dlpack.py:130
ClassDLManagedTensor
include/dlpack/dlpack.h:294
ClassDLManagedTensor
include/dlpack/dlpack.h:307
ClassDLManagedTensorVersioned
include/dlpack/dlpack.h:341
ClassDLManagedTensorVersioned
include/dlpack/dlpack.h:360
ClassDLPackExchangeAPI
include/dlpack/dlpack.h:607
ClassDLPackExchangeAPIHeader
include/dlpack/dlpack.h:513
ClassDLPackExchangeAPIHeader
include/dlpack/dlpack.h:528
ClassDLTContainer
Example container wrapping of DLTensor.
contrib/dlpack/dlpackcpp.h:21
ClassDLTensor
Structure describing strided layout of DLTensor. Fields are: data: void pointer device: DLDevice ndim: number of indices nee
apps/numpy_dlpack/dlpack/dlpack.py:103