MCPcopy Index your code
hub / github.com/pytorch/pytorch / forward

Method forward

test/dynamo/test_modules.py:1970–1971  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1968 )
1969
1970 def forward(self, x):
1971 return self.net(x)
1972
1973 model = ToyModel()
1974 self._forward_hook_test_helper(model)

Callers

nothing calls this directly

Calls 2

netMethod · 0.80
__call__Method · 0.45

Tested by

no test coverage detected