Skip to content

Commit

Permalink
Update convnext.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aakanksha-Rana authored and hvgazula committed Mar 20, 2024
1 parent ead3620 commit dffbaa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nobrainer/models/convnext.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def call(self, x, training=None):
return drop_path(x, self.drop_prob, training)


class Block(Layer):
class Block(layers.Layer):
"""ConvNeXt Block. There are two equivalent implementations:
(1) DwConv -> LayerNorm (channels_first)
-> 1x1x1 Conv -> GELU -> 1x1x1 Conv; all in (N, C, H, W, D)
Expand Down

0 comments on commit dffbaa4

Please sign in to comment.