MCPcopy Create free account
hub / github.com/ml-explore/mlx / forward

Method forward

benchmarks/python/conv2d_train_bench_cpu.py:98–99  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

96 )
97
98 def forward(self, input):
99 return self.net(input)
100
101 benchNet = BenchNetTorch(3).to(device)
102 optim = torch.optim.Adam(benchNet.parameters(), lr=1e-3)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected