MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / Conv1d

Function Conv1d

usr/diff/net.py:47–50  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

45
46
47def Conv1d(*args, **kwargs):
48 layer = nn.Conv1d(*args, **kwargs)
49 nn.init.kaiming_normal_(layer.weight)
50 return layer
51
52
53@torch.jit.script

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected