Suppose you are given three encoder hidden states at time t:
hj=h1=[10],h2=[01],h3=[11]
The previous decoder hidden state is:
st−1=[12]
Given the attention score function:
score(st−1,hj)=Vatt⊤tanh(Uattst−1+Watthj)
where the hyperbolic tangent function is defined as:
tanh(x)=ex+e−xex−e−x=e2x+1e2x−1
where
Vatt=[11],Uatt=[1001],Watt=[1001]
Based on the above data, answer the given subquestions.