3 ms·
> Neural nets are like that. No neural nets are functional in nature. Each neuron is a combinator which is the fundamental and most modular unit of abstract co
by ninetyninenine 2y ago
> Neural nets are like that.
No neural nets are functional in nature. Each neuron is a combinator which is the fundamental and most modular unit of abstract computation. The net is simply a composition of these combinators.
Training the neuron though is imperative because data is discrete. You have to train one piece of data after another.
>GPU programming is kind of like that.
Not true. See futhark. What's going on here is that the high level language is imperative. Why is the high level language usually imperative? Because the implementation of computing is usually imperative. Assembly whether it's for the CPU or GPU is imperative by implementation.
But the high level abstraction on top of these things don't necessarily need to be imperative.
>Functional programming makes things local. Pure imperative programming makes things global.
What do you mean by this?