Data types

Overview

// typedefs

typedef int64_t dnnl_dim_t;
typedef dnnl_dim_t dnnl_dims_t[DNNL_MAX_NDIMS];

// enums

enum dnnl_data_type_t;

// macros

#define DNNL_MAX_NDIMS

Detailed Documentation

Typedefs

typedef int64_t dnnl_dim_t

A type to describe tensor dimension.

typedef dnnl_dim_t dnnl_dims_t[DNNL_MAX_NDIMS]

A type to describe tensor dimensions.

Macros

#define DNNL_MAX_NDIMS

Maximum number of dimensions a tensor can have.

Only restricts the amount of space used for the tensor description. Individual computational primitives may support only tensors of certain dimensions.