Home / Function/ toLong() — pytorch Function Reference

toLong() — pytorch Function Reference

Architecture documentation for the toLong() function in IValue.java from the pytorch codebase.

Entity Profile

Dependency Diagram

graph TD
  55c1f43d_97b8_70af_c9e2_f63f38796205["toLong()"]
  5776f59b_54a2_1fc4_cfae_d6757e07d6b1["preconditionType()"]
  55c1f43d_97b8_70af_c9e2_f63f38796205 -->|calls| 5776f59b_54a2_1fc4_cfae_d6757e07d6b1
  style 55c1f43d_97b8_70af_c9e2_f63f38796205 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/IValue.java lines 263–267

  @DoNotStrip
  public long toLong() {
    preconditionType(TYPE_CODE_LONG, mTypeCode);
    return (long) mData;
  }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free