Home / Function/ _aligned_suffix() — pytorch Function Reference

_aligned_suffix() — pytorch Function Reference

Architecture documentation for the _aligned_suffix() function in generate_kernels.py from the pytorch codebase.

Function python CoreTensor Boxing calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  728b03f0_b737_9a21_3893_af8cc93b119f["_aligned_suffix()"]
  ebc778d3_ae57_7b8b_09da_84e8ca307efc["_aligned_suffix()"]
  ebc778d3_ae57_7b8b_09da_84e8ca307efc -->|calls| 728b03f0_b737_9a21_3893_af8cc93b119f
  ebc778d3_ae57_7b8b_09da_84e8ca307efc["_aligned_suffix()"]
  728b03f0_b737_9a21_3893_af8cc93b119f -->|calls| ebc778d3_ae57_7b8b_09da_84e8ca307efc
  style 728b03f0_b737_9a21_3893_af8cc93b119f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

aten/src/ATen/native/transformers/cuda/mem_eff_attention/kernels/generate_kernels.py lines 178–179

    def _aligned_suffix(self) -> str:
        return "aligned" if self.aligned else "notaligned"

Domain

Subdomains

Called By

Frequently Asked Questions

What does _aligned_suffix() do?
_aligned_suffix() is a function in the pytorch codebase.
What does _aligned_suffix() call?
_aligned_suffix() calls 1 function(s): _aligned_suffix.
What calls _aligned_suffix()?
_aligned_suffix() is called by 1 function(s): _aligned_suffix.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free