Consider the following problem. There is a sequence of words representing
positive integers, e.g.
and we want to know, for each token, the central moving average of the
associated numbers, with a window size of 3. That is, f(di)
Copyright By PowCoder代写 加微信 powcoder
ti-1titi+1
The result for the above example should be [4/3, 8/3, 2, 10/3, 8/3, 4, 10/3, 13/3, 8/3
Construct, manually, a bidirectional RNN structure and associated
weights that will solve this problem.
This should be in the form of
a flowchart identifying inputs and outputs, weights, sums, and activation
functions, along with any necessary auxiliary text. You may use only weights,
sums, and scalar activation functions. Assume that the vocabulary is encoded
[1,0,0, 0, 01,
[0,1,0,0, 01,
[0,0,1,0, 01,
“three”: 10,0,0,1, 01,
[0,0,0,0,11,
Note that for your bidirectional RNN, you should specify the form of the
forward cell, the backward cell, and the output (non-recurrent) cell.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com