Compute Library
 21.08
Tensor4D Struct Reference

Structure to hold 4D tensor information. More...

#include <helpers.h>

Data Fields

__global uchar * ptr
 Pointer to the starting postion of the buffer. More...
 
int offset_first_element_in_bytes
 The offset of the first element in the source image. More...
 
int stride_x
 Stride of the image in X dimension (in bytes) More...
 
int stride_y
 Stride of the image in Y dimension (in bytes) More...
 
int stride_z
 Stride of the image in Z dimension (in bytes) More...
 
int stride_w
 Stride of the image in W dimension (in bytes) More...
 

Detailed Description

Structure to hold 4D tensor information.

Definition at line 693 of file helpers.h.

Field Documentation

◆ offset_first_element_in_bytes

int offset_first_element_in_bytes

The offset of the first element in the source image.

Definition at line 696 of file helpers.h.

Referenced by update_tensor4D_workitem_ptr().

◆ ptr

__global uchar* ptr

Pointer to the starting postion of the buffer.

Definition at line 695 of file helpers.h.

Referenced by strided_slice(), tensor4D_offset(), and update_tensor4D_workitem_ptr().

◆ stride_w

int stride_w

Stride of the image in W dimension (in bytes)

Definition at line 700 of file helpers.h.

Referenced by tensor4D_offset().

◆ stride_x

int stride_x

Stride of the image in X dimension (in bytes)

Definition at line 697 of file helpers.h.

Referenced by tensor4D_offset().

◆ stride_y

int stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 698 of file helpers.h.

Referenced by tensor4D_offset().

◆ stride_z

int stride_z

Stride of the image in Z dimension (in bytes)

Definition at line 699 of file helpers.h.

Referenced by tensor4D_offset().


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