[Docs] Fix typo. (#1285)

pull/1286/head
WINDSKY45 2022-12-30 15:21:51 +08:00 committed by GitHub
parent 74743ef588
commit e0e6a1f1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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