Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
あなたの知らないNumPyの世界〜2025年版NumPy怪談〜
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kimikazu Kato
February 19, 2026
0
140
あなたの知らないNumPyの世界〜2025年版NumPy怪談〜
Kimikazu Kato
February 19, 2026
Tweet
Share
More Decks by Kimikazu Kato
See All by Kimikazu Kato
PyTorchの最近の動向
hamukazu
0
830
Python 3.11: What changed in math?
hamukazu
0
530
機械学習も筋肉が大事?意外と知らない数学
hamukazu
0
1k
レコメンデーションシステムのキホン
hamukazu
4
950
機械学習の中身を理解する
hamukazu
28
10k
機械学習に役立つ数学
hamukazu
11
6.4k
Pythonと数学と 多面体とペーパークラフトとベルヌーイと長門屋と田宮模型と私
hamukazu
1
1.8k
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
850
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
210
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
Balancing Empowerment & Direction
lara
5
920
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
82
The Limits of Empathy - UXLibs8
cassininazir
1
240
Building an army of robots
kneath
306
46k
How to train your dragon (web standard)
notwaldorf
97
6.5k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
63
Music & Morning Musume
bryan
47
7.1k
Darren the Foodie - Storyboard
khoart
PRO
3
2.7k
Transcript
2026/2/19 ΈΜͳͷPythonษڧձ Ճ౻ެҰ Horror Story In NumPy ͋ͳͨͷΒͳ͍NumPyͷੈք ʙ2025൛NumPyոஊʙ
ࣗݾհ Ճ౻ެҰʢ͔ͱ͏͖Έ͔ͣʣ X: @hamukazu झຯɿ͍ܰےτϨ ஶॻ New!
ϓϩϩʔά ڈ3݄ɺ৽͍͠Mac Book ProΛങ͍·ͨ͠
ࣥචͷͨΊNumPyΛ͍ͬͯͨ͡Β͜Μͳ͕ >>> np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: divide by zero
encountered in matmul np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: overflow encountered in matmul np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: invalid value encountered in matmul np.eye(15) @ np.eye(15)
෮शɿߦྻͷੵ ͷͱ͖ ֻ͚ࢉͱ͠ࢉ͔͍ͯ͠͠ͳ͍ Devision by Zero͕ى͜Δ͕ͣͳ͍ʂʂ
৺ྶݱʁ
None
GitHubͷIssue https://github.com/numpy/numpy/issues/28687
ঢ়·ͱΊ • NumPy2.2.4Ͱɺߦྻͷ@ԋࢉࢠͰDivision by Zeroܯࠂ • M4 Mac͚ͩͰ࠶ݱ • np.eye(14)
@ np.eye(14)Ͱ࠶ݱͤͣɺnp.eye(15) @ np.eye(15)Ͱ࠶ݱ • @ԋࢉࢠͰ࠶ݱ͢Δ͕ɺnp.dotͰ࠶ݱͤͣ • όοΫΤϯυΛOpenBLASʹมߋ͢Δͱ࠶ݱͤͣ
ݪҼ • M4͔ΒSMEʢScalable Matrix Extensionʣͱ͍͏ߦྻܭࢉઐ༻ͷ໋ྩηοτ ͕ಋೖ͞Εͨ • SME͕ݺͼग़͞ΕΔͱྫ֎ϑϥά͕શ෦1ʹͳΔʢͦͷ༷Ͳ͏ͳͷΑʁʣ • NumPy͕ͦͷϑϥάΛಡΜͰWarning
·ͱΊ • NumPyΪϦΪϦ·ͰύϑΥʔϚϯενϡʔχϯά͍ͯ͠ΔͷͰɺCPUͷ ༷มߋͷӨڹΛड͚Δ͜ͱ͕͋Δ • GitHubͷIssueͷٞΛಡΉͷָ͍͠ʂ