mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
[Docs] Fix typo. (#1285)
This commit is contained in:
parent
74743ef588
commit
e0e6a1f1ae
@ -31,7 +31,7 @@ class GeneralizedMeanPooling(nn.Module):
|
||||
"""
|
||||
|
||||
def __init__(self, p=3., eps=1e-6, clamp=True):
|
||||
assert p >= 1, "'p' must be a value greater then 1"
|
||||
assert p >= 1, "'p' must be a value greater than 1"
|
||||
super(GeneralizedMeanPooling, self).__init__()
|
||||
self.p = Parameter(torch.ones(1) * p)
|
||||
self.eps = eps
|
||||
|
Loading…
x
Reference in New Issue
Block a user