Skip to content

Commit bc87f75

Browse files
authored
nn_tutorial.py typo correct (#647)
1 parent 46e2d0a commit bc87f75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

β€Žbeginner_source/nn_tutorial.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
# μ—¬λŸ¬λΆ„μ΄ μ‹ κ²½λ§μ˜ κΈ°μ΄ˆμ— λŒ€ν•΄μ„œ 이미 μ΅μˆ™ν•˜λ‹€κ³  κ°€μ •ν•©λ‹ˆλ‹€.
102102
# (λ§Œμ•½ μ΅μˆ™ν•˜μ§€ μ•Šλ‹€λ©΄ `course.fast.ai <https://course.fast.ai>`_ μ—μ„œ ν•™μŠ΅ν•  수 μžˆμŠ΅λ‹ˆλ‹€).
103103
#
104-
# PyTorchλŠ” 랜덀 λ˜λŠ” 0으둜만 이루어진 ν…μ„œλ₯Ό μƒμ„±ν•˜λŠ” λ©”μ„œλ“œλ₯Ό μ œκ³΅ν•˜κ³ ,
104+
# PyTorchλŠ” 랜덀 λ˜λŠ” 0으둜만 이루어진 ν…μ„œλ₯Ό μƒμ„±ν•˜λŠ” λ©”μ†Œλ“œλ₯Ό μ œκ³΅ν•˜κ³ ,
105105
# μš°λ¦¬λŠ” κ°„λ‹¨ν•œ μ„ ν˜• λͺ¨λΈμ˜ κ°€μ€‘μΉ˜(weights)와 절편(bias)을 μƒμ„±ν•˜κΈ° μœ„ν•΄μ„œ 이것을 μ‚¬μš©ν•  κ²ƒμž…λ‹ˆλ‹€.
106106
# 이듀은 일반적인 ν…μ„œμ— 맀우 νŠΉλ³„ν•œ ν•œ κ°€μ§€κ°€ μΆ”κ°€λœ κ²ƒμž…λ‹ˆλ‹€: μš°λ¦¬λŠ” PyTorchμ—κ²Œ 이듀이
107107
# 기울기(gradient)κ°€ ν•„μš”ν•˜λ‹€κ³  μ•Œλ €μ€λ‹ˆλ‹€.
@@ -110,7 +110,7 @@
110110
#
111111
# κ°€μ€‘μΉ˜μ— λŒ€ν•΄μ„œλŠ” ``requires_grad`` λ₯Ό μ΄ˆκΈ°ν™”(initialization) **λ‹€μŒμ—** μ„€μ •ν•©λ‹ˆλ‹€,
112112
# μ™œλƒν•˜λ©΄ μš°λ¦¬λŠ” ν•΄λ‹Ή 단계가 κΈ°μšΈκΈ°μ— ν¬ν•¨λ˜λŠ” 것을 μ›μΉ˜ μ•ŠκΈ° λ•Œλ¬Έμž…λ‹ˆλ‹€.
113-
# (PyTorchμ—μ„œ ``_`` λ‹€μŒμ— μ˜€λŠ” λ©”μ„œλ“œ 이름은 연산이 μΈν”Œλ ˆμ΄μŠ€(in-place)둜 μˆ˜ν–‰λ˜λŠ” 것을 μ˜λ―Έν•©λ‹ˆλ‹€.)
113+
# (PyTorchμ—μ„œ ``_`` λ‹€μŒμ— μ˜€λŠ” λ©”μ†Œλ“œ 이름은 연산이 μΈν”Œλ ˆμ΄μŠ€(in-place)둜 μˆ˜ν–‰λ˜λŠ” 것을 μ˜λ―Έν•©λ‹ˆλ‹€.)
114114
#
115115
# .. note:: `Xavier initialisation <http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf>`_
116116
# 기법을 μ΄μš©ν•˜μ—¬ κ°€μ€‘μΉ˜λ₯Ό μ΄ˆκΈ°ν™” ν•©λ‹ˆλ‹€. (1/sqrt(n)을 κ³±ν•΄μ£ΌλŠ” 것을 ν†΅ν•΄μ„œ μ΄ˆκΈ°ν™”).

0 commit comments

Comments
Β (0)