Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
0.21.0
Performance library for Deep Learning
|
A base class for all primitive descriptors. More...
#include <mkldnn.hpp>
Public Member Functions | |
primitive_desc (const_mkldnn_op_desc_t desc, const primitive_attr *attr, const engine &e, const_mkldnn_primitive_desc_t hint_fwd_pd) | |
engine | get_engine () |
primitive_attr | get_primitive_attr () const |
const char * | impl_info_str () const |
Returns implementation name. More... | |
bool | next_impl () |
Advances the next implementation for the given op descriptor. More... | |
memory::primitive_desc | query_mpd (query what, int idx=0) const |
Queries and returns requested memory primitive descriptor. More... | |
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... | |
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 base class for all primitive descriptors.
|
inline |
|
inline |
|
inline |
|
inline |
Returns implementation name.
|
inline |
Advances the next implementation for the given op descriptor.
Returns:
true
on successfalse
if the last implementation reached, and the primitive descriptor itself is kept unchanged
|
inline |
Queries and returns requested memory primitive descriptor.