enum dnnl::rnn_direction

Overview

A direction of RNN primitive execution. More…

#include <dnnl.hpp>

enum rnn_direction
{
    undef                     = dnnl_rnn_direction_undef,
    unidirectional_left2right = dnnl_unidirectional_left2right,
    unidirectional_right2left = dnnl_unidirectional_right2left,
    bidirectional_concat      = dnnl_bidirectional_concat,
    bidirectional_sum         = dnnl_bidirectional_sum,
};

Detailed Documentation

A direction of RNN primitive execution.

Enum Values

undef

Undefined RNN direction.

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.