跳至主要内容

DLDataType Struct

DLPack scalar dtype: code + bit width + SIMD lane count. More...

Declaration​

struct simaai::neat::dlpack::DLDataType { ... }

Included Headers​

#include <TensorTypes.h>

Public Member Attributes Index​

uint8_tcode

One of DLDataTypeCode. More...

uint8_tbits

Number of bits per scalar (e.g., 8, 16, 32, 64). More...

uint16_tlanes

SIMD lane count (1 for scalar values). More...

Description​

DLPack scalar dtype: code + bit width + SIMD lane count.

Definition at line 49 of file TensorTypes.h.

Public Member Attributes​

bits​

uint8_t simaai::neat::dlpack::DLDataType::bits

Number of bits per scalar (e.g., 8, 16, 32, 64).

Definition at line 51 of file TensorTypes.h.

code​

uint8_t simaai::neat::dlpack::DLDataType::code

One of DLDataTypeCode.

Definition at line 50 of file TensorTypes.h.

lanes​

uint16_t simaai::neat::dlpack::DLDataType::lanes

SIMD lane count (1 for scalar values).

Definition at line 52 of file TensorTypes.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.