Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ahgamut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ahgamut
6y ago
J has the verbs behead[0] (for xs[1:]) and curtail[1] (for xs[:-1]), so the J oneliner for the above code would be <./ ([&}. - }:) xs [0] https://code.jsoftware.com/wiki/Vocabulary/curlyrtdot
62.
▲
by
ahgamut
6y ago
I wrote a Python package that uses graphviz to draw NN architectures of PyTorch neural nets[1]. Visualizing a neural net is a fun problem by itself; neural nets are essentially DAGs, but somehow recording the flow of data has lots of quirks