|
Open3D (C++ API)
0.18.0+252c867
|
The data type the tensor can hold. More...
#include <DLPack.h>
Data Fields | |
| uint8_t | code |
| Type code of base types. We keep it uint8_t instead of DLDataTypeCode for minimal memory footprint, but the value should be one of DLDataTypeCode enum values. More... | |
| uint8_t | bits |
| Number of bits, common choices are 8, 16, 32. More... | |
| uint16_t | lanes |
| Number of lanes in the type, used for vector types. More... | |
The data type the tensor can hold.
Examples
| uint8_t DLDataType::bits |
Number of bits, common choices are 8, 16, 32.
| uint8_t DLDataType::code |
Type code of base types. We keep it uint8_t instead of DLDataTypeCode for minimal memory footprint, but the value should be one of DLDataTypeCode enum values.
| uint16_t DLDataType::lanes |
Number of lanes in the type, used for vector types.