Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/tutorials
/ inner
Function
inner
recipes_source/torch_compiler_set_stance_tutorial.py:96–97 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
94
95
@torch.compiler.set_stance(
"force_eager"
)
96
def
inner(x):
97
return
x + 1
98
99
100
@torch.compile
Callers
1
outer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected