MCPcopy Create free account
hub / github.com/TPCD/DCCL / Identity

Class Identity

project_utils/cluster_utils.py:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135
136class Identity(nn.Module):
137 def __init__(self):
138 super(Identity, self).__init__()
139 def forward(self, x):
140 return x
141
142
143class BCE(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected