aGiant commented on issue #17800: _MinusScalar type <class 'mxnet.ndarray.ndarray.NDArray'> not supported` ? URL: https://github.com/apache/incubator-mxnet/issues/17800#issuecomment-597207080 > `self.min_v` is a constant parameter. In the current `hybrid_forward` API, you need to `def hybrid_forward(self, F, x, min_v, max_v):` and you'll get the ndarray associated with the parameter as an argument. > > The API will be simplified with #17530 > > You can read https://mxnet.apache.org/api/python/docs/tutorials/packages/gluon/blocks/hybridize.html Your solution is based on the assumption that all the min-max values were already prepared or at least accessible. Our problem from production environment is that the final user or platform does not have the access to gather the min-max values. One possible solution for our problem in production is to save the min-max values default within the NN as constant vectors.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
