Home / Function/ nativeSetNumThreads() — pytorch Function Reference

nativeSetNumThreads() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ada484dc_76b6_1e7d_3abe_e6d4ccc1c41e["nativeSetNumThreads()"]
  b5008b24_bcaa_f2d7_4c5b_74b42adb1d4c["setNumThreads()"]
  b5008b24_bcaa_f2d7_4c5b_74b42adb1d4c -->|calls| ada484dc_76b6_1e7d_3abe_e6d4ccc1c41e
  style ada484dc_76b6_1e7d_3abe_e6d4ccc1c41e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android/src/main/java/org/pytorch/PyTorchAndroid.java lines 48–49

  @DoNotStrip
  private static native void nativeSetNumThreads(int numThreads);

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free