ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Tensor4D Struct Reference

#include <helpers.h>

Data Fields

__global uchar * ptr
 
int offset_first_element_in_bytes
 
int stride_x
 
int stride_y
 
int stride_z
 
int stride_w
 

Detailed Description

Structure to hold 4D tensor information

Definition at line 384 of file helpers.h.

Field Documentation

◆ offset_first_element_in_bytes

int Tensor4D::offset_first_element_in_bytes

The offset of the first element in the source image

Definition at line 387 of file helpers.h.

◆ ptr

__global uchar* Tensor4D::ptr

Pointer to the starting postion of the buffer

Definition at line 386 of file helpers.h.

◆ stride_w

int Tensor4D::stride_w

Stride of the image in W dimension (in bytes)

Definition at line 391 of file helpers.h.

◆ stride_x

int Tensor4D::stride_x

Stride of the image in X dimension (in bytes)

Definition at line 388 of file helpers.h.

◆ stride_y

int Tensor4D::stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 389 of file helpers.h.

◆ stride_z

int Tensor4D::stride_z

Stride of the image in Z dimension (in bytes)

Definition at line 390 of file helpers.h.


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