Home / Function/ numel() — pytorch Function Reference

numel() — pytorch Function Reference

Architecture documentation for the numel() function in Tensor.java from the pytorch codebase.

Function java AndroidRuntime JavaAPI calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  0904339d_a9fa_c19b_1171_129c4c841cd6["numel()"]
  a3810b96_9142_0fab_7722_abfe805aec76["fromBlobUnsigned()"]
  a3810b96_9142_0fab_7722_abfe805aec76 -->|calls| 0904339d_a9fa_c19b_1171_129c4c841cd6
  7d987baf_1d44_31d6_f128_18964ed36ba8["fromBlob()"]
  7d987baf_1d44_31d6_f128_18964ed36ba8 -->|calls| 0904339d_a9fa_c19b_1171_129c4c841cd6
  bb0b08c6_0ed9_5ba4_4285_d5f7aee8456e["checkShapeAndDataCapacityConsistency()"]
  bb0b08c6_0ed9_5ba4_4285_d5f7aee8456e -->|calls| 0904339d_a9fa_c19b_1171_129c4c841cd6
  384ee7bc_0c17_aa62_2773_4d58b6ffdfc5["checkShape()"]
  0904339d_a9fa_c19b_1171_129c4c841cd6 -->|calls| 384ee7bc_0c17_aa62_2773_4d58b6ffdfc5
  style 0904339d_a9fa_c19b_1171_129c4c841cd6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 388–390

  public long numel() {
    return numel(this.shape);
  }

Subdomains

Calls

Frequently Asked Questions

What does numel() do?
numel() is a function in the pytorch codebase.
What does numel() call?
numel() calls 1 function(s): checkShape.
What calls numel()?
numel() is called by 3 function(s): checkShapeAndDataCapacityConsistency, fromBlob, fromBlobUnsigned.

Analyze Your Own Codebase

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

Try Supermodel Free