01🔷텐서: 가장 밑바닥
0/11 lessons모양, 자료형, 장치, 스트라이드. 텐서를 읽을 때마다 확인할 네 가지야.
PyTorch의 모델 가중치, 입력 배치, 기울기, 손실은 모두 텐서로 표현돼. 텐서의 모양과 자료형, 장치, 메모리 배치를 손에 익히면 나머지 기능도 훨씬 투명하게 읽혀.
Lesson list (11)
- 01텐서가 진짜 뭐냐~12 min · tensor, ndarray, shape
- 02텐서 만들기~15 min · factory, zeros, randn, arange
- 03모양, 자료형, 장치: 세 숫자~12 min · dtype, device, shape, metadata
- 04인덱싱과 슬라이싱~14 min · indexing, slicing, fancy, boolean
- 05모양 바꾸기, 뷰, 축 순서와 연속성 함정~14 min · reshape, view, permute, contiguous, stride
- 06수학: 원소별, 행렬곱, 브로드캐스팅~15 min · matmul, broadcasting, reduction
- 07제자리 연산과 끝의 밑줄~10 min · inplace, memory, autograd
- 08PyTorch ↔ NumPy (그리고 GPU 주의점)~10 min · numpy, interop, memory-sharing
- 09CPU, CUDA, MPS: 장치와 이동~14 min · device, cuda, mps, apple-silicon
- 10requires_grad: Autograd로 들어가는 문~10 min · autograd, requires_grad, graph
- 11저장 공간, 스트라이드, 메모리 배치 이해하기~12 min · memory, stride, storage, contiguous