enum dnnl_rnn_direction_t

Overview

A direction of RNN primitive execution. More…

#include <dnnl_types.h>

enum dnnl_rnn_direction_t
{
    dnnl_rnn_direction_undef       = 0,
    dnnl_unidirectional_left2right,
    dnnl_unidirectional_right2left,
    dnnl_bidirectional_concat,
    dnnl_bidirectional_sum,
};

Detailed Documentation

A direction of RNN primitive execution.

Enum Values

dnnl_rnn_direction_undef

Undefined RNN direction.

dnnl_unidirectional_left2right

Unidirectional execution of RNN primitive from left to right.

dnnl_unidirectional_right2left

Unidirectional execution of RNN primitive from right to left.

dnnl_bidirectional_concat

Bidirectional execution of RNN primitive with concatenation of the results.

dnnl_bidirectional_sum

Bidirectional execution of RNN primitive with summation of the results.