MCPcopy Create free account
hub / github.com/AtlasAnalyticsLab/AdaFisher / forward

Method forward

Image_Classification/src/models/cct.py:209–210  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

207 return self.forward(torch.zeros((1, n_channels, height, width))).shape[1]
208
209 def forward(self, x):
210 return rearrange(self.conv_layers(x), 'b c h w -> b (h w) c')
211
212 @staticmethod
213 def init_weight(m):

Callers 1

sequence_lengthMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected