-
Notifications
You must be signed in to change notification settings - Fork 282
'PyTorch가 무엇인가요?' 표현 개선 #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2f85dd9 to
d281e35
Compare
가독성을 위해 몇가지 표현을 수정했습니다.
d281e35 to
bbb35c6
Compare
| # (CPU상의) Torch Tensor와 NumPy 배열은 메모리상 저장 공간을 공유하기 때문에, | ||
| # 하나를 변경하면 다른 하나도 변경됩니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요건 The Torch Tensor and NumPy array will share their underlying memory locations (if the Torch Tensor is on CPU), 라고 되어 있던 것을 (Torch Tensor가 CPU 상에 있다면) Torch Tensor와 NumPy 배열은 메모리 공간을 공유하기 때문에,라는 의도에서 위와 같이 번역했던 것 같습니다. 제안해주신 내용이 더 나을지 판단이 어려운데요, @creduo 님, @itsnamgyu 님 의견 부탁드립니다.
덧붙여서, CPU 상과 같이 띄어쓴 것은 아래 첨부 이미지와 같이 부산대학교 맞춤법 검사기의 도움을 받았었습니다. :)

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아하 부산대학교 검사기에 맞추겠습니다! (저는 국립국어원 자료를 참고했는데 논란의 여지가 있네요... 앞으로 부산대학교로 통일하겠습니다🙆♂️)
https://www.korean.go.kr/front/onlineQna/onlineQnaView.do?mn_id=216&qna_seq=1137
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@9bow 님 말씀대로 explicit하게 (Torch Tensor가 CPU 상에 있다면) Torch Tensor와 NumPy 배열은 메모리 공간을 공유하기 때문에,하는 것이 가장 깔끔해보입니다. 일단 그렇게 수정해보겠습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아, 국어국립원에도 관련한 내용이 있었군요.
(조금 어거지로) 구체적인 사물의 위나 위쪽을 나타내는 경우로 봐도 되지 않을까요? ^^;;
| # NumPy 배열을 Torch Tensor로 변환하기 | ||
| # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| # NumPy(np) 배열을 변경하면 Torch Tensor의 값도 자동 변경되는 것을 확인해보세요. | ||
| # NumPy 배열을 변경하면 Torch Tensor의 값도 자동 변경되는 것을 확인해보세요. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요건 원문(See how changing the np array changed the Torch Tensor automatically)에 np로만 기재되어 있고, NumPy 를 처음으로 불러와서(import numpy as np) 사용하고 있어(np.ones(5)) NumPy로 쓰고 (np)를 덧붙였는데요, PyTorch를 처음 사용하시는 분들께서 NumPy에 얼마나 익숙하신지 몰라 선뜻 생략하지 못한 부분입니다.
(np) 부분이 어색하셨다면 원문에 맞춰 np 배열(NumPy array) 정도는 어떨까 싶은데요, @itsnamgyu 님, @creduo 님, 의견 부탁드립니다. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
개인적으로 np=NumPy를 기본적으로 알고 있지 않을까 해서 생략했는데, 처음 접하시는 분들에게 혼선을 줄 수 있을 것 같네요!
워딩은 np (NumPy) 배열로 해서 업데이트해보겠습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Junghwan Park <reserve.dev@gmail.com>
Co-authored-by: Junghwan Park <reserve.dev@gmail.com>
c27ef23 to
cae948c
Compare
Co-authored-by: Junghwan Park <reserve.dev@gmail.com> - CPU 상에 띄어쓰기 추가 (통일) etc.
cae948c to
2378d90
Compare
Co-authored-by: Junghwan Park <reserve.dev@gmail.com> - CPU 상에 띄어쓰기 추가 (통일) etc.
2378d90 to
cc6b6cb
Compare
|
정말 구체적인 피드백 감사합니다! @9bow 님께서 제안해주신대로 거의 모두 반영해서 커밋 추가했습니다. |
9bow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감사합니다!
|
@creduo 님, |
Co-authored-by: Junghwan Park <reserve.dev@gmail.com> - CPU 상에 띄어쓰기 추가 (통일) etc.
라이선스 동의
PR 종류
PR 설명
가독성을 위해 몇가지 표현을 수정했습니다. (컨트리뷰톤 지원자 사전 컨트리뷰션)