Skip to content

Commit dd59c79

Browse files
committed
Say that standard_normal takes dtype as NumPy does
1 parent ef331fa commit dd59c79

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎dpnp/random/_generator.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,10 @@ def standard_normal(
684684
685685
Limitations
686686
-----------
687-
`dtype` and `usm_type` are not in NumPy's signature. The Box-Muller
688-
transform is used rather than NumPy's ziggurat, so the magnitude of
689-
the samples is bounded: by about 6.8 in float32, and 8.6 in float64.
687+
`dtype` defaults to the default floating-point type of the device, and
688+
`usm_type` is not in NumPy's signature. The Box-Muller transform is
689+
used rather than NumPy's ziggurat, so the magnitude of the samples is
690+
bounded: by about 6.8 in float32, and 8.6 in float64.
690691
691692
Examples
692693
--------

0 commit comments

Comments
 (0)