We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbd804 commit 7e08daeCopy full SHA for 7e08dae
modules/rng_psirng.py
@@ -19,4 +19,4 @@ def __new__(cls):
19
def randn(self, shape):
20
response = requests.get(f"{self.base_url}/api/randnormal?mean=0.0&stddev=1.0&length={np.prod(shape)}")
21
response.raise_for_status()
22
- return np.array(response.json()).reshape(shape)
+ return np.array(response.json()["data"]).reshape(shape)
0 commit comments