Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlayaLab/Hive
/ get_padding
Function
get_padding
models/flowsep/latent_encoder/wavedecoder/decoder.py:23–24 ·
view source on GitHub ↗
(kernel_size, dilation=1)
Source
from the content-addressed store, hash-verified
21
22
23
def
get_padding(kernel_size, dilation=1):
24
return
int((kernel_size * dilation - dilation) / 2)
25
26
27
class
ResBlock1(torch.nn.Module):
Callers
3
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected