[add] improvement
@@ -333,7 +333,7 @@ class RandomState(object):
:meth:`numpy.random.RandomState.standard_exponential`
"""
x = self._random_sample_raw(size, dtype)
- return cupy.log(x)
+ return cupy.log(x, out=x)
def standard_normal(self, size=None, dtype=float):
"""Returns samples drawn from the standard normal distribution.
