Recurrent-Attention-CNN
Recurrent-Attention-CNN copied to clipboard
Implement RA-CNN in tensorflow
How to implement formular (4) in the paper? If we have the three tensors, tx, ty and tl with the shape (None, 1) respectively, how do we get the corresponding mask M?
In python, we can use two loops as: for x in tx: for y in ty: mask[x, y] = hx(x, y)
Then how to implement this in TensorFlow? Thank you.