Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
0.21.0
Performance library for Deep Learning
|
A memory primitive descriptor. More...
#include <mkldnn.hpp>
Public Member Functions | |
primitive_desc () | |
primitive_desc (const desc &adesc, const engine &aengine) | |
Constructs a memory primitive descriptor. More... | |
memory::desc | desc () |
Returns the memory primitive descriptor. More... | |
size_t | get_size () const |
Returns the number of bytes required to allocate the memory described including the padding area. More... | |
bool | operator== (const primitive_desc &other) const |
bool | operator!= (const primitive_desc &other) const |
engine | get_engine () |
Public Member Functions inherited from mkldnn::handle< mkldnn_primitive_desc_t > | |
handle (mkldnn_primitive_desc_t t=0, bool weak=false) | |
Constructs a C handle wrapper. More... | |
handle (const handle &other) | |
handle & | operator= (const handle &other) |
bool | operator== (const handle &other) const |
bool | operator!= (const handle &other) const |
void | reset (mkldnn_primitive_desc_t t, bool weak=false) |
Resets the value of a C handle. More... | |
mkldnn_primitive_desc_t | get () const |
Returns the value of the underlying C handle. More... | |
Friends | |
struct | memory |
Additional Inherited Members | |
Protected Member Functions inherited from mkldnn::handle< mkldnn_primitive_desc_t > | |
bool | operator== (const mkldnn_primitive_desc_t other) const |
bool | operator!= (const mkldnn_primitive_desc_t other) const |
A memory primitive descriptor.
|
inline |
|
inline |
Constructs a memory primitive descriptor.
|
inline |
Returns the memory primitive descriptor.
|
inline |
Returns the number of bytes required to allocate the memory described including the padding area.
|
inline |
|
inline |
|
inline |
|
friend |