enum dnnl_rnn_direction_t

Overview

A direction of RNN primitive execution. More…

#include <dnnl_types.h>

enum dnnl_rnn_direction_t
{
    dnnl_unidirectional_left2right,
    dnnl_unidirectional_right2left,
    dnnl_bidirectional_concat,
    dnnl_bidirectional_sum,
    dnnl_unidirectional            = dnnl_unidirectional_left2right,
};

Detailed Documentation

A direction of RNN primitive execution.

Enum Values

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.

dnnl_unidirectional

Alias for dnnl_unidirectional_left2right.