Select API: module vs Gluon


Im new to mxnet,

Can someone explain what are module and Gluon?

and what is the difference between them?

is Gluon a higher level api (like keras?)?

can we mix module and Gluon?


The major difference between Gluon and Module is: Gluon is an imperative API and Module is a symbolic API. Imperative has the advantage that you can debug and inspect parameters at every step of your training process. Symbolic has the advantage that the computational graph can be optimized before it is executed so you get a better performance.
Gluon offers HybridBlocks, that allows to profit from both: you can develop your model with imperative programming and switch to symbolic format by hybridizing the model.

You can find some great tutorials here: