We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec6720 commit ade9ab9Copy full SHA for ade9ab9
โbeginner_source/examples_autograd/polynomial_autograd.pyโ
@@ -52,7 +52,7 @@
52
# ๊ฐ๋ ํ ์๊ฐ ๋ฉ๋๋ค.
53
loss.backward()
54
55
- # ๊ฒฝ์ฌํ๊ฐ๋ฒ(gradient descent)๋ฅผ ์ฌ์ฉํ์ฌ ๊ฐ์ค์น๋ฅผ ์ง์ ๊ฐฑ์ ํฉ๋๋ค.
+ # ๊ฒฝ์ฌํ๊ฐ๋ฒ(gradient descent)์ ์ฌ์ฉํ์ฌ ๊ฐ์ค์น๋ฅผ ์ง์ ๊ฐฑ์ ํฉ๋๋ค.
56
# torch.no_grad()๋ก ๊ฐ์ธ๋ ์ด์ ๋, ๊ฐ์ค์น๋ค์ด requires_grad=True ์ง๋ง
57
# autograd์์๋ ์ด๋ฅผ ์ถ์ ํ์ง ์์ ๊ฒ์ด๊ธฐ ๋๋ฌธ์ ๋๋ค.
58
with torch.no_grad():
0 commit comments