MCPcopy Create free account
hub / github.com/pytorch/tutorials / forward

Method forward

beginner_source/onnx/onnx_registry_tutorial.py:214–215  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

212
213class AddAndRoundModel(torch.nn.Module):
214 def forward(self, input):
215 return add_and_round_op(input)
216
217
218# Implement the custom operator in ONNX using ONNX Script

Callers

nothing calls this directly

Calls 1

add_and_round_opFunction · 0.85

Tested by

no test coverage detected