I have two tensors:
a = torch.randn((1, 30, 1220)) # represents text embedding vector (30 spans, each with embedding size of 1220)
b = torch.randn((1, 128, 256)) # represents image features obtained from a pretrained CNN (object detection)
How do I concatenate everything in
bto each one of the 30 spans ofa?How to concatenate the whole
bto the wholea?
This is what I'm trying to do:
The authors have only provided this text:
I'm extracting features (outlined in red) from a 3d point cloud (similar to CNN but for 3d) as shown below:


