allocateDoubleBuffer() — pytorch Function Reference
Architecture documentation for the allocateDoubleBuffer() function in Tensor.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 879dafab_fa73_adc8_ce65_1c12046c3279["allocateDoubleBuffer()"] 7d987baf_1d44_31d6_f128_18964ed36ba8["fromBlob()"] 7d987baf_1d44_31d6_f128_18964ed36ba8 -->|calls| 879dafab_fa73_adc8_ce65_1c12046c3279 style 879dafab_fa73_adc8_ce65_1c12046c3279 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/main/java/org/pytorch/Tensor.java lines 103–107
public static DoubleBuffer allocateDoubleBuffer(int numElements) {
return ByteBuffer.allocateDirect(numElements * DOUBLE_SIZE_BYTES)
.order(ByteOrder.nativeOrder())
.asDoubleBuffer();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does allocateDoubleBuffer() do?
allocateDoubleBuffer() is a function in the pytorch codebase.
What calls allocateDoubleBuffer()?
allocateDoubleBuffer() is called by 1 function(s): fromBlob.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free