Class RecurrentAttentionLayer