Created
September 10, 2022 20:07
-
-
Save radi-cho/02c4372724fc154a51d6e792fae8bcb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# x_spatial shape: [batch_size, num_patches, embedding_dim]. | |
x_spatial = self.spatial_gating_unit(x_projected) | |
# x_projected shape: [batch_size, num_patches, embedding_dim]. | |
x_projected = self.channel_projection2(x_spatial) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment