torch_scatter_add() — pytorch Function Reference
Architecture documentation for the torch_scatter_add() function in inductor_cpu_atomic.py from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 21baf9d9_d45b_1791_6ee6_1ff53576b4fb["torch_scatter_add()"] aba84ade_afa4_11e1_7f1a_d64880227dd0["test_total_time()"] aba84ade_afa4_11e1_7f1a_d64880227dd0 -->|calls| 21baf9d9_d45b_1791_6ee6_1ff53576b4fb style 21baf9d9_d45b_1791_6ee6_1ff53576b4fb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmarks/dynamo/microbenchmarks/inductor_cpu_atomic.py lines 14–15
def torch_scatter_add(dst, src, index):
return torch.scatter_add(dst, 1, index, src)
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does torch_scatter_add() do?
torch_scatter_add() is a function in the pytorch codebase.
What calls torch_scatter_add()?
torch_scatter_add() is called by 1 function(s): test_total_time.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free