checkRotateCWDegrees() — pytorch Function Reference
Architecture documentation for the checkRotateCWDegrees() function in TensorImageUtils.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 59a3758a_6352_bb5a_8fba_62fd7f7216df["checkRotateCWDegrees()"] e7383de7_aca7_58ff_fd0d_6065330d96d2["imageYUV420CenterCropToFloat32Tensor()"] e7383de7_aca7_58ff_fd0d_6065330d96d2 -->|calls| 59a3758a_6352_bb5a_8fba_62fd7f7216df 5ed98bb2_a3e0_69aa_a5c4_dffa35d89514["imageYUV420CenterCropToFloatBuffer()"] 5ed98bb2_a3e0_69aa_a5c4_dffa35d89514 -->|calls| 59a3758a_6352_bb5a_8fba_62fd7f7216df style 59a3758a_6352_bb5a_8fba_62fd7f7216df 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