lanking520 commented on issue #13403: Allow Scala to have mixed Symbol/Constant
URL: 
https://github.com/apache/incubator-mxnet/issues/13403#issuecomment-441477977
 
 
   Hi Sam, about the line you have pointed:
   ```
   z = mu + mx.symbol.broadcast_mul(mx.symbol.exp(0.5*logvar),
                                            mx.symbol.random_normal(loc=0, 
scale=1, shape=(batch_size, n_latent)))
   ```
   I didn't see why you cannot do this. In fact, this piece of python code did 
not mix with constant, they are all Symbols (mu, logvar...). Could you please 
point to the code you have so we can help you out?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to