26 #if defined(DATA_TYPE) && defined(VEC_SIZE) 28 #define TYPE VEC_DATA_TYPE(DATA_TYPE, VEC_SIZE) 71 const uint current_slice = get_global_id(2) % NUM_CHANNELS;
77 TYPE res = (data - curr_mean) / curr_std;
123 const uint current_slice = get_global_id(0);
129 TYPE res = (data - curr_mean) / curr_std;
134 #endif // defined(DATA_TYPE) && defined(VEC_SIZE) Structure to hold Vector information.
Structure to hold 3D tensor information.
SimpleTensor< float > src
#define CONVERT_TO_VECTOR_STRUCT(name)
#define VECTOR_DECLARATION(name)
__global uchar * ptr
Pointer to the starting postion of the buffer.
#define CONVERT_TO_TENSOR3D_STRUCT(name)
__global uchar * ptr
Pointer to the starting postion of the buffer.
#define TENSOR3D_DECLARATION(name)