Hi,
How do the below two ways of extending a batch_size x feature_size tensor differ?
visual_feature = visual_feat.expand([batch_size,batch_size,self.feature_size])
text_feature = sentence_embed.repeat(1,1,batch_size).view(batch_size,batch_size,self.feature_size)