MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / Identity

Class Identity

openrec/modeling/common.py:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96
97class Identity(nn.Module):
98
99 def __init__(self):
100 super(Identity, self).__init__()
101
102 def forward(self, input):
103 return input
104
105
106class Mlp(nn.Module):

Callers 15

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected