Skip to content

Commit 59cae41

Browse files
committed
Add in print statement for debugging and change some parameters
1 parent 0620974 commit 59cae41

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

numpy/minmax.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ def bench():
2121
reduced = np.max(reduced, -1)
2222
else:
2323
reduced = np.min(reduced, -1)
24+
print(reduced)
2425
return reduced
25-
red = tacoBench(bench)
26+
tacoBench(bench)
27+
red = bench()
2628
print("reduced value for", dims, "is", red)
2729

2830
@pytest.mark.parametrize("dims", [1, 3, 5])

numpy/util.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,9 @@ def construct_minmax_tensor_key(dims, variant=None):
453453
return os.path.join(path, name, key)
454454

455455
def generate_crds_helper(shape, level, crds):
456-
sampling = 0.1
457-
num = 3
458-
std = 2
459-
last_layer_sampling = 0.4
456+
sampling = 0.4
457+
num = 4
458+
std = 2
460459

461460
if level == len(shape) - 1:
462461
return crds

0 commit comments

Comments
 (0)