Recent Posts
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Front
- Vision
- REACT
- cs
- SSL
- 딥러닝
- 3d
- GAN
- ML
- Meta Learning
- nerf
- CV
- web
- dl
- 머신러닝
- FineGrained
- math
- classification
- computervision
- clean code
- 자료구조
- PRML
- FGVC
- Depth estimation
- nlp
- algorithm
- Python
- Torch
- 알고리즘
- pytorch
- Today
- Total
목록Python/Pytorch (9)
KalelPark's LAB

torch.nn.Module.register_buffer - parameter가 아니라 buffer를 수행하기 위한 목적으로 활용됩니다. - buffer는 state_dict에 저장되지만, 최적화에 사용되지 않습니다. 즉, 단순한 module이라고 볼 수 있습니다. def register_module(self, name : str, module : Optional["Module"]) -> None: self.add_module(name, module) torch.nn.Module.register_parameter - module에 name을 기반으로 parameter를 추가합니다. - register_buffer와 다르게, 최적화에 사용될 수 있습니다. def register_parameter(self,..
Python/Pytorch
2022. 12. 29. 15:38