Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ foreach_map.py
File
foreach_map.py
recipes_source/foreach_map.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Explicit horizontal fusion
with
foreach_map and torch.compile
3
===============================================================
4
Callers
nothing calls this directly
Calls
5
get_inputs
Function · 0.85
step
Method · 0.80
benchmark_torch_function_in_microseconds
Function · 0.70
model
Function · 0.50
backward
Method · 0.45
Tested by
no test coverage detected