As a graduate student, I have decreased my note-taking-during-lecture over time, especially if I know I'll have access to the professor's notes. However, I now take notes on papers I read, some textbook and lecture notes I read, and instructional Youtube videos (since you can pause them). For papers with algorithms in them, it helps me to write out my own copy of the algorithm. It's a similar mental process as if I were to code an algorithm from a paper -- that's when I really understand it.