checkArgument() — pytorch Function Reference
Architecture documentation for the checkArgument() function in Tensor.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 71889387_1e63_1ff3_2450_e3018d61b4ee["checkArgument()"] 6be65676_2065_aa9b_3e47_fa15f51dd3fe["fromBlobUnsigned()"] 6be65676_2065_aa9b_3e47_fa15f51dd3fe -->|calls| 71889387_1e63_1ff3_2450_e3018d61b4ee fff97aed_e384_1976_ed4b_d94a2ed220dd["fromBlob()"] fff97aed_e384_1976_ed4b_d94a2ed220dd -->|calls| 71889387_1e63_1ff3_2450_e3018d61b4ee 3326fa3f_4fcb_175c_bb45_ea4994768ac1["checkShape()"] 3326fa3f_4fcb_175c_bb45_ea4994768ac1 -->|calls| 71889387_1e63_1ff3_2450_e3018d61b4ee 0c327cad_9286_e6d4_167c_ed85851324f7["checkShapeAndDataCapacityConsistency()"] 0c327cad_9286_e6d4_167c_ed85851324f7 -->|calls| 71889387_1e63_1ff3_2450_e3018d61b4ee style 71889387_1e63_1ff3_2450_e3018d61b4ee fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 680–684
private static void checkArgument(boolean expression, String errorMessage, Object... args) {
if (!expression) {
throw new IllegalArgumentException(String.format(Locale.US, errorMessage, args));
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does checkArgument() do?
checkArgument() is a function in the pytorch codebase.
What calls checkArgument()?
checkArgument() is called by 4 function(s): checkShape, checkShapeAndDataCapacityConsistency, fromBlob, fromBlobUnsigned.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free