MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / __init__

Method __init__

eval/models/ts/basic_blocks.py:34–44  ·  view source on GitHub ↗
(self, inc, outc, ks=3, stride=1)

Source from the content-addressed store, hash-verified

32
33class BasicDeconvolutionBlock(nn.Module):
34 def __init__(self, inc, outc, ks=3, stride=1):
35 super().__init__()
36 self.net = nn.Sequential(
37 spnn.Conv3d(
38 inc,
39 outc,
40 kernel_size=ks,
41 stride=stride,
42 transposed=True),
43 spnn.BatchNorm(outc),
44 spnn.ReLU(True))
45
46 def forward(self, x):
47 return self.net(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected