
์ ๋ต์ ์ ์๊ธ ํํ๋ก ์ ๊ณต๋ฉ๋๋ค. ์ ๋ต์ ์๊ณ ์ถ๋ค๋ฉด, ๋๋ณด๊ธฐ๋ฅผ ๋๋ฌ์ฃผ์๋ฉด ๋ฉ๋๋ค. ํน์ ์ ๊ฐ ์ ์ ๋ต ์ค ์ค๋ฅ๊ฐ ์์ด๋ ์ค๋ช ์ด ๋ถ์กฑํ ๋ถ๋ถ์ ๋ํด์๋ ์ง์ ํด์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค. 1. Control Dependence์๋ ํญ์ Data Depedence๋ง ์กด์ฌํ๋ค? ๋๋ณด๊ธฐ YES! Data Dependence๋ ๊ณง RAW ์ํฉ์ ๋งํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ ์ฐ๋ฆฌ๊ฐ PC์ ์ ๊ทผํ ๋ ์ฐ๋ฆฌ๋ ํญ์ RAW๋ฅผ ๊ฒฝํํ์ฃ . ๊ทธ๋์ PC์ ๋ํ Dependency์ธ Control Depedence๋ ํญ์ Data Dependence์ ๋๋ค. 2. Code Scheduling์ (1) Static hazard resolution์ด๋ค. (2) Dynamic hazard resolution์ด๋ค. ๋๋ณด๊ธฐ (1) Static hazar..

(๋๊ธฐ) node.js ๋ฐฐ์ด ๊ฑฐ๋ฅผ ์ข ์ฐ์ตํ๋ ๋ชฉ์ ์์ ๋ฐฑ์ค ๋ฌธ์ ๋ฅผ ํ์ด๋ณด๋ ค๊ณ ํ๋ค. ๊ทธ๋ฐ๋ฐ console ์ถ๋ ฅ๋ง ํ ์ค ์์ง console ์ ๋ ฅ์ ๋ํด์๋ ๋ณ๋๋ก ๋ฐฐ์ด๊ฒ ์๋ค๋ ์ฌ์ค์ ๊นจ๋ฌ์ ๋ฒ๋ ธ๋ค!! ใ ใ ใ ใ ใ ๊ทธ๋์ ์ด๋ฒ ๊ธฐํ์ console ์ ๋ ฅ์ ๋ํด์ ์ ๋ฆฌํด๋ณธ๋ค. ์ธํฐ๋ท์ ๋ช๊ฐ์ง ๋ฐฉ๋ฒ์ด ์ ์๋์ด ์๋๋ฐ, ๋ด ๊ธฐ์ค์ผ๋ก ๊ทธ๋๋ง ์ข ์ฌ์๋ณด์ด๋ ๋ฐฉ๋ฒ์ ์ ์ํด๋ณด๋ ค๊ณ ํ๋ค. ์ฐ๋ฆฌ๋ JS์ ๋ด์ฅ ๋ชจ๋์ธ 'readline' ๋ชจ๋์ ์ฌ์ฉํ ๊ฒ์ด๋ค. ์ฒ์์๋ ์๋์ ๊ฐ์ฅ ๊ธฐ๋ณธ์ด ๋๋ ์ฝ๋๋ฅผ ์์ฑํ๋ค. const readline = require('readline'); // ์ธํฐํ์ด์ค ๊ฐ์ฒด๋ฅผ ๋ง๋ค์. const rl = readline.createInterface({ input: process.stdin, out..

1. Coherent๋ serialize์ ๋ํด ์ด๋ป๊ฒ ์ ์ํ๋๊ฐ? ๋๋ณด๊ธฐ program order์ ๋ง์ถฐ์ serialize๋๋ค. = ํ๋ก์ธ์ A๊ฐ ๋ฉ๋ชจ๋ฆฌ์ ์์ ํ ์์๋ฅผ ํ๋ก์ธ์ B๋ ๊ทธ๋๋ก ๋๋๋ค๋ ๋ง. 2. program order์ ๋ํด ์ข๋ formalํ๊ฒ ๋งํด๋ณด์๋ฉด? ๋๋ณด๊ธฐ program text๋ assembly code์ ๊ธฐ์ ๋ ์์๋ฅผ ๋งํจ. 3. memory consistency model์ด ๋งํ๋ ํต์ฌ = ๊ฐ load ์ฐ์ฐ์ ์ด๋ค store ์ฐ์ฐ์ ์ํด ๊ทธ ๊ฐ์ ๋ฆฌํด๋ฐ๊ฒ ๋๋๊ฐ? 4. Seqeuntial Consistency์ ํ๊ณ์ ์ ๊ธฐ์ ํ๊ณ , ๊ทธ๊ฒ์ ์ด๋ป๊ฒ ํด๊ฒฐํ๋์ง ์ ์ํด๋ณด๋ผ. ๋๋ณด๊ธฐ ํ๋ฒ์ ํ๋์ processor๋ง ๋ฉ๋ชจ๋ฆฌ์ ์ ๊ทผํ ์ ์๋ค. 5. Sequential Consi..
Cache Coeherence๋ฅผ ๋ง์กฑํ๊ธฐ ์ํ ๋ค์ํ ์ข ๋ฅ์ Protocol์ด ์๋ค. ์ด ๊ธ์์๋ Bus๋ฅผ ํ์ฉํด Cache Coherence๋ฅผ ๊ตฌํํ๋ Bus-based Protocol์ ๋ํด ์ดํด๋ณธ๋ค. Cache Write Policy Protocol ์ฅ์ ๋จ์ Write-through write-update protocol read & write ๋๋ค multiple copies ํ์ฉ ๋งค write ๋ง๋ค All cache๊ฐ ์ํฅ์ ๋ฐ์. Overhead๊ฐ ํผ Write-through, no-write-allocate cache valid-invalid protocol multiple reader๋ ํ์ฉ ๋ฐ๋ฉด, writer๋ ํ๋๋ง simple state machine for each cache li..
https://stats.stackexchange.com/questions/365444/why-is-a-0-1-loss-function-intractable Why is a 0-1 loss function intractable? In Ian Goodfellow's Deep Learning book, it is written that Sometimes, the loss function we actually care about (say, classification error) is not one that can be optimized efficiently. For exam... stats.stackexchange.com ์ด ๊ธ์ ์ฝ๊ธฐ ์ , ๋น์ ์ด ๋ฐฑ์ง์ zero-one loss function์ ์ ์ ์ ์..