leezu commented on issue #17800: _MinusScalar type <class 'mxnet.ndarray.ndarray.NDArray'> not supported` ? URL: https://github.com/apache/incubator-mxnet/issues/17800#issuecomment-597203564 `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 https://github.com/apache/incubator-mxnet/pull/17530 You can read https://mxnet.apache.org/api/python/docs/tutorials/packages/gluon/blocks/hybridize.html
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services