rlmesh::ext::dlpack::DLPackType
A DLPack DLDataType triple describing a tensor element type.
struct DLPackTypeFields
code
field[source]code: u8DLDataTypeCode (0 = int, 1 = uint, 2 = float, 6 = bool).
bits
field[source]bits: u8Element width in bits.
lanes
field[source]lanes: u16Vector lanes; always 1 for RLMesh tensors.
Trait implementations
- impl Debug for DLPackType
- impl Clone for DLPackType
- impl Copy for DLPackType
- impl StructuralPartialEq for DLPackType
- impl PartialEq for DLPackType
- impl Eq for DLPackType
- impl Hash for DLPackType