get_strides Class — pytorch Architecture
Architecture documentation for the get_strides class in DnnlExt.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/mkldnn/xpu/detail/DnnlExt.h lines 417–428
template <>
inline void get_strides<trans_type_t::nt>(
memory::dims& src_strides,
memory::dims& wei_strides,
memory::dims& dst_strides,
const int64_t lda,
const int64_t ldb,
const int64_t ldc) {
src_strides = {lda, 1};
wei_strides = {1, ldb};
dst_strides = {ldc, 1};
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free