Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: UltralyticsAssistant <[email protected]>
  • Loading branch information
glenn-jocher and UltralyticsAssistant authored Jun 22, 2024
1 parent 54694e4 commit 0c1d532
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clip/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ def forward(self, x):
"""

def stem(x):
"""Forward pass through the network stem, applying convolutions, batch normalization, ReLU activations, and
average pooling.
"""
x = self.relu1(self.bn1(self.conv1(x)))
x = self.relu2(self.bn2(self.conv2(x)))
x = self.relu3(self.bn3(self.conv3(x)))
Expand Down

0 comments on commit 0c1d532

Please sign in to comment.