File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 147147#
148148# .. note::
149149# **PyTorch์์ DAG๋ค์ ๋์ (dynamic)์
๋๋ค.**
150- # ์ฃผ๋ชฉํด์ผ ํ ์ค์ํ ์ ์ ๊ทธ๋ํ๊ฐ ์ฒ์๋ถํฐ(from scratch) ๋ค์ ์์ฑ๋๋ค๋ ๊ฒ์
๋๋ค; ๋งค๋ฒ ``.bachward ()`` ๊ฐ
150+ # ์ฃผ๋ชฉํด์ผ ํ ์ค์ํ ์ ์ ๊ทธ๋ํ๊ฐ ์ฒ์๋ถํฐ(from scratch) ๋ค์ ์์ฑ๋๋ค๋ ๊ฒ์
๋๋ค; ๋งค๋ฒ ``.backward ()`` ๊ฐ
151151# ํธ์ถ๋๊ณ ๋๋ฉด, autograd๋ ์๋ก์ด ๊ทธ๋ํ๋ฅผ ์ฑ์ฐ๊ธฐ(populate) ์์ํฉ๋๋ค. ์ด๋ฌํ ์ ๋๋ถ์ ๋ชจ๋ธ์์
152152# ํ๋ฆ ์ ์ด(control flow) ๊ตฌ๋ฌธ๋ค์ ์ฌ์ฉํ ์ ์๊ฒ ๋๋ ๊ฒ์
๋๋ค; ๋งค๋ฒ ๋ฐ๋ณต(iteration)ํ ๋๋ง๋ค ํ์ํ๋ฉด
153153# ๋ชจ์(shape)์ด๋ ํฌ๊ธฐ(size), ์ฐ์ฐ(operation)์ ๋ฐ๊ฟ ์ ์์ต๋๋ค.
You canโt perform that action at this time.
0 commit comments