from local

This commit is contained in:
dohe0342 2023-01-24 14:10:16 +09:00
parent c6ec11b5d7
commit 951721bf63
2 changed files with 0 additions and 1 deletions

View File

@ -14,4 +14,3 @@ def pad_to_multiple(x, multiple, dim=-1, value=0):
pad_offset = (0,) * (-1 - dim) * 2
return F.pad(x, (*pad_offset, 0, remainder), value=value), remainder
~