Skip to main content

~/notes

Notes from my studies and thoughts in between.

Data Structures: Arrays

How arrays work one level below the usual abstractions, from RAM layout to Two Sum

06/04/2026·Blog

PyTorch: Why view() fails after transpose()

transpose() makes tensors non-contiguous (logical ≠ physical order). view() only works with contiguous tensors → RuntimeError. Solution: use reshape() instead of view().

10/31/2025·Blog