Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
address the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stu1130 committed Jun 17, 2019
1 parent 8b29e78 commit b0da451
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion python/mxnet/ndarray/numpy/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from ..ndarray import NDArray
from . import _internal as _npi


__all__ = ['uniform', 'normal', 'multinomial']


Expand Down
1 change: 1 addition & 0 deletions python/mxnet/numpy/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def normal(loc=0.0, scale=1.0, size=None, **kwargs):
"""
return _mx_nd_np.random.normal(loc, scale, size, **kwargs)


def multinomial(n, pvals, size=None, **kwargs):
"""Draw samples from a multinomial distribution.
Expand Down
1 change: 0 additions & 1 deletion tests/python/unittest/test_numpy_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,6 @@ def test_np_multinomial():
assert freq.size == 0



if __name__ == '__main__':
import nose
nose.runmodule()

0 comments on commit b0da451

Please sign in to comment.