   value_embed_dim (int) —
The dimensionality of the value embeddings.   Returns 
torch.FloatTensor
  
The downsampled mask tensor.
  Downsamples the provided mask tensor to match the expected dimensions for scaled dot-product attention.
If the aspect ratio of the mask does not match the aspect ratio of the output image, a warning is issued.
