## Description ##
Issue : MXNET-938
Root Cause : _rnn_param_concat() takes a while to concat all the params.

This PR allows the user to call .fuse_weights() when running Gluon with ndarray 
there-by preprocessing the fusing-of-weights before calling forward.  Also, 
when running inference fusing-of-weights is not required for each batch - only 
once is suffice.

Some of the alternative approaches are 
 1. Fuse Parameters() when created.
 2. Fuse the weights in ".initialize()" if we are running in inference mode and 
if all the parameters are initialized. 

Sending a PR as a first-draft to get some early feedback.

[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12512 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to