~/talk

Towards Typesafe Deep Learning in Scala

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [scala, machine-learning]
links:none on file
slides:none on file

Nexus is a prototype Scala deep‑learning engine that encodes tensor shapes and axis semantics into types so axes of tensors are typed statically and operations either compile or fail. It uses Shapeless HLists, Scala implicits as compiling-as-proofs, and GADTs to enforce rules like matrix multiplication only when inner axes match and sum‑over‑axis producing a removed axis at compile time. Backend bridges target native C++/CUDA (PyTorch/MXNet/TensorFlow), GPU support is preliminary, automatic batching and GC for device memory are planned, and models can shrink from ~1000 lines to under 20 in examples.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 5:25Problems with Python deep learning
  3. 10:20Type-safe tensors in Scala
  4. 19:37Polymorphic symbolic functions
  5. 26:52Native CUDA integration plans
  6. 28:43Dynamic neural architectures
  7. 31:15Lazy and eager evaluation
  8. 33:40Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.