tensorflow-pointer-networks
tensorflow-pointer-networks copied to clipboard
Pointer Networks in Tensorflow
Hi thank you for your code, I just want to ask you for advice, I'm trying to implement a list sorting function with pointer networks, but it's not so easy....
b_e = tf.get_variable("b_e", [batch_size, lstm_width], initializer=init) # B x L (bias matrix) I guess the shape of b_e should be [lstm_width, 1] or [1, lstm_width]
I have ported your code to Pytorch. Here is the [link to repo ](https://github.com/vanangamudi/pointer-net/blob/master/ptrnet_example/PtrNet-Example.ipynb) After training, I get same values for both indices. I sense something is wrong in the...