leleamol commented on issue #13770: mxnet.ndarray.random_randint API not found
URL: 
https://github.com/apache/incubator-mxnet/issues/13770#issuecomment-451544424
 
 
   Hello @myairforce1,
   
   The 'mxnet.ndarray.random.randint' method is not implemented in 1.3.1 
version.  The implementation and documentation for this method is available in 
'master' version of the repository. It is not yet released.
   
   The documentation link that is included in the report points to the "master" 
version.
   
   I tried out the function with a nightly build 
(mxnet_cu90-1.5.0b20190103-py2.py3-none-manylinux1_x86_64.whl) and it is 
failing with following error.
   
   ```
   >>> mx.nd.random.randint(5, 100)
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python2.7/dist-packages/mxnet/ndarray/random.py", 
line 561, in randint
       return _random_helper(_internal._random_randint, None,
   AttributeError: 'module' object has no attribute '_random_randint'
   >>>
   ```
   
   The code was recently added with pull request #12749 
   @eric-haibin-lin @ChaiBapchya  can you please take a look?
   
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to