/avatar.png

Yewentao's Blog

Understand Tensor Data Layout

This article introduces the two common memory storage formats in PyTorch, NCHW and NHWC. It delves into concepts such as Stride and Contiguous, and explains the principles and processes of changing Tensor memory structures.

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.

CSAPP Class Notes(4)

My note while learning through CSAPP-15213 videos. Including Overview, Bits, Bytes, and Integers, Floating Point, Machine Level Programing, Program Optimization, Memory, Concurrency and Network.

CSAPP Class Notes(3)

My note while learning through CSAPP-15213 videos. Including Overview, Bits, Bytes, and Integers, Floating Point, Machine Level Programing, Program Optimization, Memory, Concurrency and Network.

CSAPP Class Notes(2)

My note while learning through CSAPP-15213 videos. Including Overview, Bits, Bytes, and Integers, Floating Point, Machine Level Programing, Program Optimization, Memory, Concurrency and Network.

CSAPP Class Notes(1)

My note while learning through CSAPP-15213 videos. Including Overview, Bits, Bytes, and Integers, Floating Point, Machine Level Programing, Program Optimization, Memory, Concurrency and Network.

Attacklab

Attacklab from CSAPP 15213, including P1-Code Injection Attacks and P2-Return-Oriented Programming. It’s a little bit hard, please be patient and gradually find your way out, best wishes!

Bomblab

Bomblab from CSAPP 15213, including 6 normal phases and 1 extra secret-phase. It’s a little bit hard, please be patient and gradually find your way out, good luck!