From the docs it says to create a transformer model like this:
transformer_model = nn.Transformer(nhead=16, num_encoder_layers=12)
src = torch.rand((10, 32, 512))
tgt = torch.rand((20, 32, 512)) # What is tgt??
out = transformer_model(src, tgt)
What is tgt mean't to be? Should tgt be the same as the src?