aGiant commented on issue #17800: _MinusScalar type <class 
'mxnet.ndarray.ndarray.NDArray'> not supported` ?
URL: 
https://github.com/apache/incubator-mxnet/issues/17800#issuecomment-597210313
 
 
   > `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
   
   Or in short, our final user just have the x, they do not have any min_v and 
max_v basedon 
   
   > link
   
   Could you pleas point out the errors? I have already visited that links many 
times from last month.
   Many thanks!

----------------------------------------------------------------
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

Reply via email to