aGiant opened a new issue #17800: _MinusScalar type <class 
'mxnet.ndarray.ndarray.NDArray'> not supported` ?
URL: https://github.com/apache/incubator-mxnet/issues/17800
 
 
   ```
   <ipython-input-92-6fb5c4df8b27> in hybrid_forward(self, F, x)
        36         #x = self.normalizer(data)
        37         flat_x = self.flatten(x)
   ---> 38         above = flat_x - self.min
        39         under = self.max - self.min
        40         x_normalized = above/under
   
   ~/anaconda3/lib/python3.7/site-packages/mxnet/symbol/symbol.py in 
__sub__(self, other)
       127             return _internal._MinusScalar(self, scalar=other)
       128         else:
   --> 129             raise TypeError('type %s not supported' % 
str(type(other)))
       130 
       131     def __isub__(self, other):
   
   TypeError: type <class 'mxnet.ndarray.ndarray.NDArray'> not supported
   ```
   
   those are defined in hybrid_forward of official VAE code example.

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