Home avatar

Wentao's Blog

ShellLab

在shell lab中,我们将通过开发一个简洁但完整的unix shell程序来对进程控制、信号机制等概念有进一步的认知。源码:[https://github.com/yewentao256/CSAPP_15213/tree/main/shelllab]

Understand Tensor Data Layout

本文介绍了pytorch中常用的两种内存存储形式NCHWNHWC,深入讨论了StrideContiguous等概念,并解释了改变Tensor描述和内存结构的原理和过程。

Cachelab

In this lab, we will write a small C program that simulates the behavior of a cache memory and optimize a small matrix transpose function.