clDNN
cldnn::format_traits Struct Reference

Format information helper class. More...

#include <tensor.hpp>

Static Public Member Functions

static const char * batch_chars ()
 Characters representing batch dimensions in an order.
 
static const char * feature_chars ()
 Characters representing feature map/channel dimensions in an order.
 
static const char * spatial_chars ()
 Characters representing spatial dimensions in an order.
 
static bool is_batch_char (char c)
 Checks if c represents batch dimension.
 
static bool is_feature_char (char c)
 Checks if c represents feature map/channel dimension.
 
static bool is_spatial_char (char c)
 Checks if c represents spatial dimension.
 

Public Attributes

size_t batch_num
 Number of batch dimensions in a format.
 
size_t feature_num
 Number of feature map/channel dimensions in a format.
 
size_t spatial_num
 Number of spatial (x,y) dimensions in a format.
 
std::string order
 Dimensions changing order from rare to often.
 
std::string internal_order
 Dimensions order for internal storage.
 

Detailed Description

Format information helper class.

Definition at line 40 of file tensor.hpp.


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