Tf.gather functionallity missing in pytorch

Yes. torch.gather() is different. but I think you just can use direct indexing of pytorch.