Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  0.21.0
Performance library for Deep Learning
Classes | Functions

A primitive to describe and store data. More...

Classes

struct  mkldnn::memory
 Memory primitive that describes the data. More...
 

Functions

memory::desc mkldnn::zero_md ()
 
memory mkldnn::null_memory (engine eng)
 
void mkldnn::check_num_parameters (const const_mkldnn_primitive_desc_t &aprimitive_desc, int n_inputs, int n_outputs, const std::string &prim_name)
 
bool mkldnn::is_null_memory (const const_mkldnn_primitive_t &aprimitive)
 
bool mkldnn::operator== (mkldnn_data_type_t a, memory::data_type b)
 
bool mkldnn::operator!= (mkldnn_data_type_t a, memory::data_type b)
 
bool mkldnn::operator== (memory::data_type a, mkldnn_data_type_t b)
 
bool mkldnn::operator!= (memory::data_type a, mkldnn_data_type_t b)
 
bool mkldnn::operator== (mkldnn_memory_format_t a, memory::format b)
 
bool mkldnn::operator!= (mkldnn_memory_format_t a, memory::format b)
 
bool mkldnn::operator== (memory::format a, mkldnn_memory_format_t b)
 
bool mkldnn::operator!= (memory::format a, mkldnn_memory_format_t b)
 

Detailed Description

A primitive to describe and store data.

For more information, refer to Memory in C API.

Function Documentation

◆ zero_md()

memory::desc mkldnn::zero_md ( )
inline

◆ null_memory()

memory mkldnn::null_memory ( engine  eng)
inline

◆ check_num_parameters()

void mkldnn::check_num_parameters ( const const_mkldnn_primitive_desc_t aprimitive_desc,
int  n_inputs,
int  n_outputs,
const std::string &  prim_name 
)
inline

◆ is_null_memory()

bool mkldnn::is_null_memory ( const const_mkldnn_primitive_t aprimitive)
inline

◆ operator==() [1/4]

bool mkldnn::operator== ( mkldnn_data_type_t  a,
memory::data_type  b 
)
inline

◆ operator!=() [1/4]

bool mkldnn::operator!= ( mkldnn_data_type_t  a,
memory::data_type  b 
)
inline

◆ operator==() [2/4]

bool mkldnn::operator== ( memory::data_type  a,
mkldnn_data_type_t  b 
)
inline

◆ operator!=() [2/4]

bool mkldnn::operator!= ( memory::data_type  a,
mkldnn_data_type_t  b 
)
inline

◆ operator==() [3/4]

bool mkldnn::operator== ( mkldnn_memory_format_t  a,
memory::format  b 
)
inline

◆ operator!=() [3/4]

bool mkldnn::operator!= ( mkldnn_memory_format_t  a,
memory::format  b 
)
inline

◆ operator==() [4/4]

bool mkldnn::operator== ( memory::format  a,
mkldnn_memory_format_t  b 
)
inline

◆ operator!=() [4/4]

bool mkldnn::operator!= ( memory::format  a,
mkldnn_memory_format_t  b 
)
inline