MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / __init__

Method __init__

preprocess/auxiliary/ICNet.py:48–52  ·  view source on GitHub ↗
(self,in_channels, out_channels, kernel_size = 3, padding = 1, stride = 1)

Source from the content-addressed store, hash-verified

46
47class conv_bn_relu(nn.Module):
48 def __init__(self,in_channels, out_channels, kernel_size = 3, padding = 1, stride = 1):
49 super(conv_bn_relu,self).__init__()
50 self.conv = nn.Conv2d(in_channels= in_channels, out_channels= out_channels, kernel_size= kernel_size, padding= padding, stride = stride)
51 self.bn = nn.BatchNorm2d(out_channels)
52 self.relu = nn.ReLU()
53
54 def forward(self,x):
55 x = self.conv(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected