checkRotateCWDegrees() — pytorch Function Reference
Architecture documentation for the checkRotateCWDegrees() function in TensorImageUtils.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD d3c59c92_688b_4dd5_dcaf_8a64372dd00a["checkRotateCWDegrees()"] da0052aa_0d0f_9bda_a558_296d9703af6b["imageYUV420CenterCropToFloat32Tensor()"] da0052aa_0d0f_9bda_a558_296d9703af6b -->|calls| d3c59c92_688b_4dd5_dcaf_8a64372dd00a 96f1f166_e465_73ae_edbc_0841f2cf1414["imageYUV420CenterCropToFloatBuffer()"] 96f1f166_e465_73ae_edbc_0841f2cf1414 -->|calls| d3c59c92_688b_4dd5_dcaf_8a64372dd00a style d3c59c92_688b_4dd5_dcaf_8a64372dd00a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android_torchvision/src/main/java/org/pytorch/torchvision/TensorImageUtils.java lines 378–385
private static void checkRotateCWDegrees(int rotateCWDegrees) {
if (rotateCWDegrees != 0
&& rotateCWDegrees != 90
&& rotateCWDegrees != 180
&& rotateCWDegrees != 270) {
throw new IllegalArgumentException("rotateCWDegrees must be one of 0, 90, 180, 270");
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does checkRotateCWDegrees() do?
checkRotateCWDegrees() is a function in the pytorch codebase.
What calls checkRotateCWDegrees()?
checkRotateCWDegrees() is called by 2 function(s): imageYUV420CenterCropToFloat32Tensor, imageYUV420CenterCropToFloatBuffer.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free