-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[clojure-package] fix docstrings in normal.clj
#14295
[clojure-package] fix docstrings in normal.clj
#14295
Conversation
Thanks for your contribution @Chouffe. I look forward to reviewing it shortly 😸 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvements! Looks great 💯
`ctx`: Context of output ndarray, will use default context if not specified. | ||
`out`: Output place holder} | ||
returns: The result ndarray with generated result. | ||
Ex: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples in the docstring are very nice 💯
note: The random number generator of mxnet is by default device specific. | ||
This means if you set the same seed, the random number sequence | ||
generated from GPU0 can be different from CPU." | ||
generated from GPU0 can be different from CPU. | ||
Ex: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
It is good to go once the CI tests pass |
The main issue was in the docstring for
|
Not sure why CI has not run? |
@mxnet-label-bot add [pr-awaiting-merge, Clojure] |
@Chouffe would you mind pushing an empty commit or something to retrigger the CI? I think it might be fixed now |
* Fixed documentation string in `normal` function * Added spec to catch `high` < `low` in `uniform` * Added spec to catch `scale` <= 0 in `normal` * Added unit tests
I just rebased on upstream master and pushed again :) |
It seems to be green @gigasquid :-) |
Yay! thanks |
* Fixed documentation string in `normal` function * Added spec to catch `high` < `low` in `uniform` * Added spec to catch `scale` <= 0 in `normal` * Added unit tests
* Fixed documentation string in `normal` function * Added spec to catch `high` < `low` in `uniform` * Added spec to catch `scale` <= 0 in `normal` * Added unit tests
Description
high
<low
inuniform
scale
<= 0 innormal
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments