MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / forward

Method forward

CV/SMILE/backbones/vit.py:297–301  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

295 return weight_attr, bias_attr
296
297 def forward(self, x):
298 for layer in self.layers:
299 x = layer(x)
300 x = self.encoder_norm(x)
301 return x
302
303
304class VisionTransformer(nn.Layer):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected