Skip to content

AttentionPoolLatent reference? #2436

Answered by rwightman
billpsomas asked this question in Q&A
Discussion options

You must be logged in to vote

@billpsomas That impl is compatible with the attention pooling in SigLIP, but I had the layer coded up before that paper, based on some previous attention pooling ideas that were out there. I think maybe some of it was related to Perceiver but I forget exactly, the concept has been 'out there' for a while. When SigLIP was released, I tweaked it to be compatible, it supports some other options.

The '2d' variants in attention_pool_2d were based on the OpenAI CLIP ResNet attention pooling, but again had some additional options that I added.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@billpsomas
Comment options

@rwightman
Comment options

Answer selected by billpsomas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants