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
  eaaef05d_cae9_0a4c_971a_849011b68314["nativeSetNumThreads()"]
  eddf10fa_0bc8_ff83_ac2d_fa502c417420["setNumThreads()"]
  eddf10fa_0bc8_ff83_ac2d_fa502c417420 -->|calls| eaaef05d_cae9_0a4c_971a_849011b68314
  style eaaef05d_cae9_0a4c_971a_849011b68314 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