Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/examples
/ invert.py
File
invert.py
fx/invert.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
torch.fx
as
fx
3
4
# An inverse mapping is one that takes a function f(x) and returns a function g
Callers
nothing calls this directly
Calls
3
add_inverse
Function · 0.85
invert
Function · 0.85
f
Function · 0.70
Tested by
no test coverage detected