We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7039bc1 commit 7e23776Copy full SHA for 7e23776
tests/conftest.py
@@ -26,7 +26,7 @@ def test_params():
26
27
28
def create_input_plus_noise(shape, is_complex):
29
- x = np.arange(np.product(shape)).reshape(shape)
+ x = np.arange(np.prod(shape)).reshape(shape)
30
x = torch.tensor(x, dtype=torch.get_default_dtype())
31
32
if is_complex:
0 commit comments