MatCopy Class — pytorch Architecture
Architecture documentation for the MatCopy class in Unfold3d.cpp from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/Unfold3d.cpp lines 21–26
template <typename T>
void MatCopy(int64_t M, int64_t N, int64_t lda, int64_t ldb, const T* A, T* B) {
for (const auto i : c10::irange(M)) {
std::memcpy(B + i * ldb, A + i * lda, N * sizeof(T));
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free