MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / forward

Method forward

models/custom.py:39–43  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

37 print(f"MyModel: {n_params / 1e6:.1f}M parameters")
38
39 def forward(self, x: torch.Tensor) -> torch.Tensor:
40 x = self.features(x)
41 x = x.flatten(1)
42 x = self.classifier(x)
43 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected