Home / Function/ NativePeer() — pytorch Function Reference

NativePeer() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  96984e8d_653a_f967_312a_98b39fa334b0["NativePeer()"]
  bd5a2bf0_05c5_399b_7f8e_dd659dc221d4["initHybrid()"]
  96984e8d_653a_f967_312a_98b39fa334b0 -->|calls| bd5a2bf0_05c5_399b_7f8e_dd659dc221d4
  7d44508d_0b4f_4d5a_d6d0_fce7b3549846["initHybridAndroidAsset()"]
  96984e8d_653a_f967_312a_98b39fa334b0 -->|calls| 7d44508d_0b4f_4d5a_d6d0_fce7b3549846
  style 96984e8d_653a_f967_312a_98b39fa334b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/NativePeer.java lines 26–28

  NativePeer(String moduleAbsolutePath, Map<String, String> extraFiles, Device device) {
    mHybridData = initHybrid(moduleAbsolutePath, extraFiles, device.jniCode);
  }

Subdomains

Frequently Asked Questions

What does NativePeer() do?
NativePeer() is a function in the pytorch codebase.
What does NativePeer() call?
NativePeer() calls 2 function(s): initHybrid, initHybridAndroidAsset.

Analyze Your Own Codebase

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

Try Supermodel Free