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
Neural networks on your phone
Search
Alejandro Isaza
August 02, 2016
Programming
0
47
Neural networks on your phone
Slides for technical lightning talk on neural networks running on portable devices.
Alejandro Isaza
August 02, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Goのエラースタックトレースの歴史と今後
sonatard
7
1.3k
SIMD Parallel Programming with the Vector API
josepaumard
0
170
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
690
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
200
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
960
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
"config" ってなんだ? / What is "config"?
okashoi
0
240
エンターテイメント業界で利用されるAWS
demuyan
0
210
今、知っておきたい! 生成AIエージェントの世界
elith
3
360
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
770
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
96
10k
RailsConf 2023
tenderlove
4
540
The Cult of Friendly URLs
andyhume
74
5.7k
Music & Morning Musume
bryan
41
5.6k
Side Projects
sachag
451
41k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
Product Roadmaps are Hard
iamctodd
44
9.7k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
A Philosophy of Restraint
colly
197
16k
Transcript
Artificial Intelligence
Companies doing AI
[the AI revolution is] no longer a matter of if,
but when. — Tech Crunch 1 1 https://techcrunch.com/2016/07/18/why-the-top-5-tech-companies-are-dead-set-on-ai/
Neural networks
None
Neural networks on your phone
Snapchat Forevery Prisma
None
https://intune.com
None
BrainCore https://github.com/aleph7/BrainCore
InfiniteMonkeys https://github.com/craigomac/InfiniteMonkeys
None
Training a network Keras: https://github.com/fchollet/keras 2 2 https://github.com/fchollet/keras/blob/master/examples/lstm_text_generation.py
func loadNetFromFile(path: String) -> Net { guard let file =
File.open(path, mode: .ReadOnly) else { fatalError("File not found '\(path)'") } let lstm_1 = try! loadLSTMLayerFromFile(file, name: "lstm_1") let lstm_2 = try! loadLSTMLayerFromFile(file, name: "lstm_2") let denseLayer = loadDenseLayerFromFile(file) return Net.build { self.dataLayer => lstm_1 => lstm_2 => denseLayer => self.sinkLayer } }
let evaluator = try Evaluator(net: net, device: self.device) // Run
while running { evaluator.evaluate { snapshot in let char = sinkOutput() display(string: char) dataLayer.data = self.inputFromChar(char).elements } }
Alejandro Isaza https://github.com/aleph7