RockX  1.0.0
Data Fields
rockx_tensor_t Struct Reference

Tensor. More...

#include <rockx_type.h>

Data Fields

rockx_data_type dtype
 Data type (rockx_data_type) More...
rockx_tensor_format fmt
 Tensor Format(rockx_tensor_format) More...
uint8_t n_dims
 Number of tensor dimension (0 < n_dims <= 4) More...
uint32_t dims [4]
 Tensor dimension. More...
void * data
 Tensor data. More...

Detailed Description


Definition at line 75 of file rockx_type.h.

Field Documentation

◆ data

void* data

Tensor data.

Definition at line 80 of file rockx_type.h.

◆ dims

uint32_t dims[4]

Tensor dimension.

Definition at line 79 of file rockx_type.h.

◆ dtype

Data type (rockx_data_type)

Definition at line 76 of file rockx_type.h.

◆ fmt

Tensor Format(rockx_tensor_format)

Definition at line 77 of file rockx_type.h.

◆ n_dims

uint8_t n_dims

Number of tensor dimension (0 < n_dims <= 4)

Definition at line 78 of file rockx_type.h.

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