MCPcopy Create free account
hub / github.com/Francis-Rings/MotionFollower / forward

Method forward

src/models/resnet.py:105–113  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

103 raise NotImplementedError
104
105 def forward(self, hidden_states):
106 assert hidden_states.shape[1] == self.channels
107 if self.use_conv and self.padding == 0:
108 raise NotImplementedError
109
110 assert hidden_states.shape[1] == self.channels
111 hidden_states = self.conv(hidden_states)
112
113 return hidden_states
114
115
116class ResnetBlock3D(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected