Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
extension/pybindings/test/make_test.py:168–170 ·
view source on GitHub ↗
(self, fn)
Source
from the content-addressed store, hash-verified
166
167
class
WrapperModule(torch.nn.Module):
168
def
__init__(self, fn):
169
super().__init__()
170
self.fn = fn
171
172
def
forward(self, *args, **kwargs):
173
return
self.fn(*args, **kwargs)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected