Home / Function/ use_larger_multiplier_for_smaller_tensor() — pytorch Function Reference

use_larger_multiplier_for_smaller_tensor() — pytorch Function Reference

Architecture documentation for the use_larger_multiplier_for_smaller_tensor() function in huggingface.py from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  f83bbb59_3ca7_bf0a_57f3_ea6d32ca5fd9["use_larger_multiplier_for_smaller_tensor()"]
  f7ecd13c_923c_8159_d6c1_ed5366e68d46["use_larger_multiplier_for_smaller_tensor()"]
  f83bbb59_3ca7_bf0a_57f3_ea6d32ca5fd9 -->|calls| f7ecd13c_923c_8159_d6c1_ed5366e68d46
  style f83bbb59_3ca7_bf0a_57f3_ea6d32ca5fd9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmarks/dynamo/huggingface.py lines 371–374

    def use_larger_multiplier_for_smaller_tensor(self, name):
        return name in [
            "GPT2ForSequenceClassification",
        ]

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free