Descriptor for LBR GRU forward propagation. More...
#include <mkldnn.hpp>
Public Member Functions | |
desc (prop_kind aprop_kind, rnn_direction direction, const memory::desc &src_layer_desc, const memory::desc &src_iter_desc, const memory::desc &weights_layer_desc, const memory::desc &weights_iter_desc, const memory::desc &bias_desc, const memory::desc &dst_layer_desc, const memory::desc &dst_iter_desc, rnn_flags flags=rnn_flags::undef) | |
Initializes an LBR GRU descriptor for forward propagation using prop_kind , direction , and memory descriptors. More... | |
Descriptor for LBR GRU forward propagation.
|
inline |
Initializes an LBR GRU descriptor for forward propagation using prop_kind
, direction
, and memory descriptors.
prop_kind
equals mkldnn::forward_training, you must query a workspace memory descriptor before creating the primitive.flags
is a parameter to the LBR GRU descriptor and is currently ignored.
src_iter_desc
, bias_desc
, and dst_iter_desc
are allowed to point to a zero memory descriptor, which would indicate that the LBR GRU primitive should not use them and will default to zero values.
src_iter_desc
can be initialized with an mkldnn::memory::format_tag::any value of format_kind
.