How to implement bidirectional encoder in tensor stream?

In Tensorflow, all the functions of the decoder-encoder ( https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/seq2seq.py ) use a unidirectional implementation of the RNN block.

How can we implement a bi-directional encoder ( http://arxiv.org/abs/1409.0473 or similar systems) in Tensorflow so that it can be both immediately and backward in the setup of the encoder-decoder?

+4
source share

Source: https://habr.com/ru/post/1649578/


All Articles