Structs§
- DLData
Type - \brief The data type the tensor can hold. The data type is assumed to follow the native endian-ness. An explicit error message should be raised when attempting to export an array with non-native endianness
- DLDevice
- \brief A Device for Tensor and operator.
- DLManaged
Tensor - \brief C Tensor object, manage memory of DLTensor. This data structure is intended to facilitate the borrowing of DLTensor by another framework. It is not meant to transfer the tensor. When the borrowing framework doesn’t need the tensor, it should call the deleter to notify the host that the resource is no longer needed.
- DLManaged
Tensor Versioned - \brief A versioned and managed C Tensor object, manage memory of DLTensor.
- DLPack
ExchangeAPI - \brief Framework-specific function pointers table for DLPack exchange.
- DLPack
ExchangeAPI Header - \brief DLPackExchangeAPI stable header. \sa DLPackExchangeAPI
- DLPack
Version - \brief The DLPack version.
- DLTensor
- \brief Plain C Tensor object, does not manage memory.
Enums§
- DLData
Type Code - \brief The type code options DLDataType.
- DLDevice
Type
Constants§
- DLPACK_
FLAG_ BITMASK_ IS_ COPIED - DLPACK_
FLAG_ BITMASK_ IS_ SUBBYTE_ TYPE_ PADDED - DLPACK_
FLAG_ BITMASK_ READ_ ONLY - DLPACK_
MAJOR_ VERSION - DLPACK_
MINOR_ VERSION
Type Aliases§
- DLPack
Current Work Stream - \brief Obtain the current work stream of a device.
- DLPackDL
Tensor From PyObject NoSync - \brief Exports a PyObject* Tensor/NDArray to a provided DLTensor.
- DLPack
Managed Tensor Allocator - \brief Request a producer library to create a new tensor.
- DLPack
Managed Tensor From PyObject NoSync - \brief Exports a PyObject* Tensor/NDArray to a DLManagedTensorVersioned.
- DLPack
Managed Tensor ToPy Object NoSync - \brief Imports a DLManagedTensorVersioned to a PyObject* Tensor/NDArray.