過去Noteをまとめたものです。 シストリックアレイ( Systolic array )とは、行列乗算を効率的に行うための演算器アレイです。大手IT企業のAI半導体、NPUなどで使用されています。 では、趣味レベルで自作してみよう。 ブロック図 シストリックアレイの概念図は ...
DRY(Don’t Repeat Yourself) を聞いたことがありますか? 同じコードを何度もコピー&ペーストするのではなく、 関数としてまとめて再利用する のがプロのやり方です。 たとえば… 「区切り線を表示するコード」を100回コピペする代わりに、 print_line() 関数を ...
Python is convenient and flexible, yet notably slower than other languages for raw computational speed. The Python ecosystem has compensated with tools that make crunching numbers at scale in Python ...