Adding support to save the model as MXNet model (sym, params). This allows users to train using Keras interface with MXNet backend, export the model as MXNet model, use native MXNet for inference. Users can also use any language binding of MXNet ex: Python/Scala/C++ for inference.
Adding two API's
get_mxnet_model(model, bucket) - Extracts MXNet module and Symbol (extracted symbol depends on the bucket passed in. So if 'train' bucket is passed then it would return the symbol bind to training)
save_mxnet_model(model, bucket) - Same as get_mxnet_model excepts it saves the Symbol and Params to a files
Testing Done
Created dummy sequential lstm model in keras and inferred with MXNet
Created dummy functional api model in keras and inferred with MXNet
Adding support to save the model as MXNet model (sym, params). This allows users to train using Keras interface with MXNet backend, export the model as MXNet model, use native MXNet for inference. Users can also use any language binding of MXNet ex: Python/Scala/C++ for inference.
Adding two API's
get_mxnet_model
excepts it saves the Symbol and Params to a filesTesting Done