Skip to content

Commit 8a78004

Browse files
committed
fix
1 parent 203e916 commit 8a78004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tester/api_config/config_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ def get_exponent_max(value, dtype_max, default_max = 5):
20062006
if "int" in self.dtype:
20072007
self.numpy_tensor = (numpy.random.randint(-65535, 65535, size=self.shape)).astype(self.dtype)
20082008
else:
2009-
self.numpy_tensor = (numpy.random.random(self.shape) - 0.5)*1.2.astype(self.dtype)
2009+
self.numpy_tensor = ((numpy.random.random(self.shape) - 0.5)*1.2).astype(self.dtype)
20102010

20112011
self.dtype = original_dtype
20122012
return self.numpy_tensor

0 commit comments

Comments
 (0)