Skip to content

Commit 6f78383

Browse files
committed
test_zero_mean_unit_variance_fixed
1 parent 51f163b commit 6f78383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_proc_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_zero_mean_unit_variance_fixed(tid: MemberId):
8989
mean=xr.DataArray([3, 4, 5], dims=("channel",)),
9090
std=xr.DataArray([2.44948974, 2.44948974, 2.44948974], dims=("channel",)),
9191
)
92-
data = xr.DataArray(np.arange(9).reshape((1, 3, 3)), dims=("b", "channel", "x"))
92+
data = xr.DataArray(np.arange(9).reshape((1, 3, 3)), dims=("batch", "channel", "x"))
9393
expected = xr.DataArray(
9494
np.array(
9595
[
@@ -100,7 +100,7 @@ def test_zero_mean_unit_variance_fixed(tid: MemberId):
100100
]
101101
]
102102
),
103-
dims=("b", "channel", "x"),
103+
dims=("batch", "channel", "x"),
104104
)
105105
sample = Sample(members={tid: Tensor.from_xarray(data)}, stat={}, id=None)
106106
op(sample)

0 commit comments

Comments
 (0)