s.  downsample  < source > ( mask: FloatTensor batch_size: int num_queries: int value_embed_dim: int  ) → torch.FloatTensor  Parameters   mask (torch.FloatTensor) —
The input mask tensor generated with IPAdapterMaskProcessor.preprocess().   batch_size (int) —
The batch size.   num_queries (int) —
The number of queries.   value_embed_dim (int) —
The dimensionality of the value embeddings.   Returns 
torch.FloatTensor
  
The downsampled mask tens