Home / Function/ checkNormMeanArg() — pytorch Function Reference

checkNormMeanArg() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  09321404_5d8c_f9fd_739a_1be11da65720["checkNormMeanArg()"]
  c81bb7ae_2eee_9e76_fb40_f1e6bea8df1f["bitmapToFloat32Tensor()"]
  c81bb7ae_2eee_9e76_fb40_f1e6bea8df1f -->|calls| 09321404_5d8c_f9fd_739a_1be11da65720
  cb0ec3bf_804a_0d54_e6cf_c94ea97cada8["bitmapToFloatBuffer()"]
  cb0ec3bf_804a_0d54_e6cf_c94ea97cada8 -->|calls| 09321404_5d8c_f9fd_739a_1be11da65720
  da0052aa_0d0f_9bda_a558_296d9703af6b["imageYUV420CenterCropToFloat32Tensor()"]
  da0052aa_0d0f_9bda_a558_296d9703af6b -->|calls| 09321404_5d8c_f9fd_739a_1be11da65720
  96f1f166_e465_73ae_edbc_0841f2cf1414["imageYUV420CenterCropToFloatBuffer()"]
  96f1f166_e465_73ae_edbc_0841f2cf1414 -->|calls| 09321404_5d8c_f9fd_739a_1be11da65720
  style 09321404_5d8c_f9fd_739a_1be11da65720 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android_torchvision/src/main/java/org/pytorch/torchvision/TensorImageUtils.java lines 393–397

  private static void checkNormMeanArg(float[] normMeanRGB) {
    if (normMeanRGB.length != 3) {
      throw new IllegalArgumentException("normMeanRGB length must be 3");
    }
  }

Subdomains

Frequently Asked Questions

What does checkNormMeanArg() do?
checkNormMeanArg() is a function in the pytorch codebase.
What calls checkNormMeanArg()?
checkNormMeanArg() is called by 4 function(s): bitmapToFloat32Tensor, bitmapToFloatBuffer, imageYUV420CenterCropToFloat32Tensor, imageYUV420CenterCropToFloatBuffer.

Analyze Your Own Codebase

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

Try Supermodel Free