Speed Comparison Python v Julia for custom layers

If you don’t need to train at all, there are a lot of optimizations which can be done. For example, using in-place multiplication (mul!) and broadcasting. Likewise if you don’t care about GPU support, libraries like
GitHub - PumasAI/SimpleChains.jl: Simple chains are available and quite performant.

1 Like