Notice
Recent Posts
Recent Comments
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 | 31 |
Tags
- 시소러스
- 파이썬
- nn.Module
- dl
- CBOW
- excel
- object detaction
- GoogLeNet
- pytorch
- Gated Recurrent Unit
- Multi-Layer Perceptron
- pythonForEverybody
- docker
- mlops
- Long Short Term Memory
- Python
- 1x1 Convolution
- 분포 가설
- f1-score
- py4e
- Linear algebra
- 차원 감소
- skip-gram
- Charlse Severance
- 벡터 간 유사도
- 선형대수
- 상호 정보량
- convolution
- deep learning
- 동시발생 행렬
Archives
- Today
- Total
목록nn.Module (1)
Tech & TIL
[PyTorch] torch.nn.Module
[CLASS] torch.nn.Module 공식문서에 따르면 torch.nn.Module 은 PyTorch의 모든 Neural Network의 Base Class이다. 모듈은 다른 모듈을 포함할 수 있고, 트리 구조로 형성할 수 있다. 공식문서에 예제를 코딩해보면서 감을 잡아보자. import torch.nn as nn import torch.nn.functional as F class MyModel(nn.Module): def __init__(self): super(Model, self).__init__() self.conv1 = nn.Conv2d(1, 20, 5) self.conv2 = nn.Conv2d(20, 20, 5) def forward(self, x): x = F.relu(self.conv1..
Boostcamp - AI tech/PyTorch
2021. 8. 21. 01:09