mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Fixed Typos
Fixed the typos in helpers.py and CONTRIBUTING.md
This commit is contained in:
parent
9afe0bb78e
commit
89ba0da910
@ -1,6 +1,6 @@
|
||||
*This guideline is very much a work-in-progress.*
|
||||
|
||||
Contriubtions to `timm` for code, documentation, tests are more than welcome!
|
||||
Contributions to `timm` for code, documentation, tests are more than welcome!
|
||||
|
||||
There haven't been any formal guidelines to date so please bear with me, and feel free to add to this guide.
|
||||
|
||||
|
@ -32,7 +32,7 @@ def make_divisible(v, divisor=8, min_value=None, round_limit=.9):
|
||||
|
||||
|
||||
def extend_tuple(x, n):
|
||||
# pdas a tuple to specified n by padding with last value
|
||||
# pads a tuple to specified n by padding with last value
|
||||
if not isinstance(x, (tuple, list)):
|
||||
x = (x,)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user