MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / conv1x1

Function conv1x1

lib/Resnext_torch.py:25–27  ·  view source on GitHub ↗

1x1 convolution

(in_planes, out_planes, stride=1)

Source from the content-addressed store, hash-verified

23
24
25def conv1x1(in_planes, out_planes, stride=1):
26 """1x1 convolution"""
27 return nn.Conv2d(in_planes, out_planes, kernel_size=1, stride=stride, bias=False)
28
29
30class BasicBlock(nn.Module):

Callers 2

__init__Method · 0.85
_make_layerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected