We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed390e0 commit 8e715f0Copy full SHA for 8e715f0
benchmarks/combine.py
@@ -13,7 +13,7 @@ def setup(self, *args, **kwargs):
13
14
@parameterized("kind", ("cohorts", "mapreduce"))
15
def time_combine(self, kind):
16
- flox.core._npg_combine(
+ flox.core._grouped_combine(
17
getattr(self, f"x_chunk_{kind}"),
18
**self.kwargs,
19
keepdims=True,
@@ -22,7 +22,7 @@ def time_combine(self, kind):
22
23
24
def peakmem_combine(self, kind):
25
26
27
28
@@ -58,4 +58,4 @@ def construct_member(groups):
58
]
59
60
self.x_chunk_cohorts = [construct_member(groups) for groups in [np.array((1, 2, 3, 4))] * 4]
61
- self.kwargs = {"agg": flox.aggregations.mean, "axis": (3,), "group_ndim": 1}
+ self.kwargs = {"agg": flox.aggregations.mean, "axis": (3,), "neg_axis": (-1,)}
0 commit comments