일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- error
- Python
- nav2 튜토리얼
- nav2 development guides
- first-time robot setup guide
- setting up transformations
- humble 환경설정
- nav2 tutorial
- humble development guides
- Nav2 document
- nav2 dev contatiner
- ros2 foxy docker
- ROS FOXY 튜토리얼
- ros2 foxy tutorial
- ros2 configuring environment
- ros2 development guides
- Foxy tutorial
- foxy nav2
- ros2 튜토리얼 환경설정
- ros2 튜토리얼
- 코드업
- nav2 first-time robot setup guide
- CODEUP 6073
- CodeUp
- nav2 설치
- ros2 remapping
- ros2 환경설정
- docker foxy
- nav2 getting started
- ros2 transformations 개념
Archives
- Today
- Total
BAN2ARU
[Python / Pytorch] torch.nn.ReLU() 본문
반응형
https://pytorch.org/docs/stable/generated/torch.nn.ReLU.html를 기반으로 작성하였음
CLASS
torch.nn.ReLU(inplace=False)
Rectified linear unit fuction을 element 별로 적용
$$ ReLU(x) = (x)^{+} = max(0,x) $$
Parameters
- inplace - 선택적으로 in-place에서 연산을 수행할 수 있으며, default는 False임. (만약 inplace=True로 설정하면 inpurt 들어온 것 자체에서 연산을 수행함)
Shape
- Input : (*), 여기서 *는 임의의 dimension의 수를 의미함
- Output : (*), input과 똑같은 shape임.
728x90
'Language > Python' 카테고리의 다른 글
[Python] print() - sep, end, file (print로 텍스트 파일 출력하기) (0) | 2022.04.25 |
---|---|
[Python] append(), extend(), insert() 비교 (0) | 2022.04.22 |
[Python/ Pytorch] torch.nn.ModuleList() (0) | 2022.04.21 |
[Python/ Pytorch] torch.nn.BatchNorm2d() (0) | 2022.04.21 |
[Python/pytorch] torch.nn.Conv2d() (0) | 2022.04.21 |
Comments