checkNormStdArg() — pytorch Function Reference
Architecture documentation for the checkNormStdArg() function in TensorImageUtils.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD e79553c3_aa4f_f1b9_50e7_c07930a30ab1["checkNormStdArg()"] 075236f7_07e3_50da_aa45_e689eb75aec6["bitmapToFloat32Tensor()"] 075236f7_07e3_50da_aa45_e689eb75aec6 -->|calls| e79553c3_aa4f_f1b9_50e7_c07930a30ab1 146c6cff_527c_f43e_6edc_682205be9eff["bitmapToFloatBuffer()"] 146c6cff_527c_f43e_6edc_682205be9eff -->|calls| e79553c3_aa4f_f1b9_50e7_c07930a30ab1 e7383de7_aca7_58ff_fd0d_6065330d96d2["imageYUV420CenterCropToFloat32Tensor()"] e7383de7_aca7_58ff_fd0d_6065330d96d2 -->|calls| e79553c3_aa4f_f1b9_50e7_c07930a30ab1 5ed98bb2_a3e0_69aa_a5c4_dffa35d89514["imageYUV420CenterCropToFloatBuffer()"] 5ed98bb2_a3e0_69aa_a5c4_dffa35d89514 -->|calls| e79553c3_aa4f_f1b9_50e7_c07930a30ab1 style e79553c3_aa4f_f1b9_50e7_c07930a30ab1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android_torchvision/src/main/java/org/pytorch/torchvision/TensorImageUtils.java lines 387–391
private static void checkNormStdArg(float[] normStdRGB) {
if (normStdRGB.length != 3) {
throw new IllegalArgumentException("normStdRGB length must be 3");
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkNormStdArg() do?
checkNormStdArg() is a function in the pytorch codebase.
What calls checkNormStdArg()?
checkNormStdArg() 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