Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ baz
Function
baz
recipes_source/torch_compiler_set_stance_tutorial.py:83–86 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
81
82
@torch.compile
83
def
baz(x):
84
# error!
85
with
torch.compiler.set_stance(
"force_eager"
):
86
return
x + 1
87
88
89
try
:
Callers
1
torch_compiler_set_stance_tutorial.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected