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

Method __init__

preprocess/auxiliary/ICNet.py:36–41  ·  view source on GitHub ↗
(self,channels)

Source from the content-addressed store, hash-verified

34
35class to_map(nn.Module):
36 def __init__(self,channels):
37 super(to_map,self).__init__()
38 self.to_map = nn.Sequential(
39 nn.Conv2d(in_channels=channels,out_channels=1, kernel_size=1,stride=1),
40 nn.Sigmoid()
41 )
42
43 def forward(self,feature):
44 return self.to_map(feature)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected