MCPcopy Create free account
hub / github.com/deepbrainai-research/float / _forward_impl

Method _forward_impl

models/__init__.py:388–397  ·  view source on GitHub ↗
(self, x: Tensor)

Source from the content-addressed store, hash-verified

386 return nn.Sequential(*layers)
387
388 def _forward_impl(self, x: Tensor) -> Tensor:
389 x = self.stem(x)
390
391 x = self.layer1(x)
392 x = self.layer2(x)
393 x = self.layer3(x)
394 x = self.layer4(x)
395
396 x = self.fc(x)
397 return x
398
399 def forward(self, x: Tensor) -> Tensor:
400 return self._forward_impl(x)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected