mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
c6ec11b5d7
commit
951721bf63
Binary file not shown.
@ -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
|
||||
~
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user