Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ forward
Method
forward
fx/primitive_library.py:46–49 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
44
45
class
Foo(torch.nn.Module):
46
def
forward(self, x, y):
47
x = sigmoid_lowp(x)
48
y = sigmoid_lowp(y)
49
return
add_lowp(x, y)
50
51
52
traced = torch.fx.symbolic_trace(Foo())
Callers
nothing calls this directly
Calls
2
sigmoid_lowp
Function · 0.85
add_lowp
Function · 0.85
Tested by
no test coverage detected