enum dnnl::rnn_direction

Overview

A direction of RNN primitive execution. More…

#include <dnnl.hpp>

enum rnn_direction
{
    unidirectional_left2right = dnnl_unidirectional_left2right,
    unidirectional_right2left = dnnl_unidirectional_right2left,
    bidirectional_concat      = dnnl_bidirectional_concat,
    bidirectional_sum         = dnnl_bidirectional_sum,
    unidirectional            = dnnl_unidirectional,
};

Detailed Documentation

A direction of RNN primitive execution.

Enum Values

unidirectional_left2right

Unidirectional execution of RNN primitive from left to right.

unidirectional_right2left

Unidirectional execution of RNN primitive from right to left.

bidirectional_concat

Bidirectional execution of RNN primitive with concatenation of the results.

bidirectional_sum

Bidirectional execution of RNN primitive with summation of the results.

unidirectional

Alias for dnnl::rnn_direction::unidirectional_left2right.