chrishkchris opened a new pull request #523: SINGA-478 Improve __itruediv__ in
   Improve the __itruediv__ operation by using the /= operator in c tensor 
directly instead of *= operator.
   Has tested two cases (because for end to end purpose):
   Case 1. simple tensor division in ncrf docker container
   from singa import tensor
   from singa import device
   import numpy as np
   Y = np.ones(shape=[10],dtype=np.float32) * 10.0
   y = tensor.from_numpy(Y)
   def divide(y):
      y /= 10
   root@26c9db193eb0:~/incubator-singa# python3 
   [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
   Case 2. 8 GPUs mnist distributed training in AWS (i.e.

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:

With regards,
Apache Git Services

Reply via email to