Element-wise operations for forward propagation. More...
#include <mkldnn.hpp>
Classes | |
struct | desc |
Initializes an eltwise descriptor for forward propagation using prop_kind (possible values are mkldnn::forward_training and mkldnn::forward_inference), aalgorithm algorithm, memory descriptor data_desc , alpha , and beta parameters. More... | |
struct | primitive_desc |
Primitive descriptor for eltwise forward propagation. More... | |
Additional Inherited Members | |
Public Types inherited from mkldnn::primitive | |
enum | kind { kind::undef = mkldnn_undefined_primitive, kind::reorder = mkldnn_reorder, kind::shuffle = mkldnn_shuffle, kind::concat = mkldnn_concat, kind::sum = mkldnn_sum, kind::convolution = mkldnn_convolution, kind::deconvolution = mkldnn_deconvolution, kind::eltwise = mkldnn_eltwise, kind::softmax = mkldnn_softmax, kind::pooling = mkldnn_pooling, kind::lrn = mkldnn_lrn, kind::batch_normalization = mkldnn_batch_normalization, kind::inner_product = mkldnn_inner_product, kind::rnn = mkldnn_rnn } |
Kinds of primitives. More... | |
Public Member Functions inherited from mkldnn::primitive | |
const_mkldnn_primitive_desc_t | get_primitive_desc () const |
Returns the descriptor of the underlying C API primitive. | |
Public Member Functions inherited from mkldnn::handle< mkldnn_primitive_t > | |
handle (mkldnn_primitive_t t, bool weak=false) | |
Constructs a C handle wrapper. More... | |
handle () | |
Empty constructor. More... | |
void | reset (mkldnn_primitive_t t, bool weak=false) |
Resets the value of a C handle. More... | |
mkldnn_primitive_t | get (bool allow_emtpy=false) const |
Returns the value of the underlying C handle. | |
Element-wise operations for forward propagation.
Implements descriptor, primitive descriptor, and primitive.