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

Class Identity_

preprocess/auxiliary/AutoShot.py:45–54  ·  view source on GitHub ↗

skip connect

Source from the content-addressed store, hash-verified

43
44
45class Identity_(nn.Module):
46 """
47 skip connect
48 """
49
50 def __init__(self):
51 super(Identity_, self).__init__()
52
53 def forward(self, inputs):
54 return inputs
55
56def _act(act_type, **kwargs):
57 if act_type is None or act_type == "Identity":

Callers 1

_actFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected