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 5494898 commit 9781d0cCopy full SHA for 9781d0c
merlin/dtypes/shape.py
@@ -153,7 +153,7 @@ def __post_init__(self):
153
if self.dims is not None:
154
new_dims = []
155
for i, dim in enumerate(self.dims):
156
- if i == 0 and dim is None:
+ if i == 0 and (dim is None or dim == (0, None)):
157
dim = -1
158
new_dim = Dimension(dim)
159
new_dims.append(new_dim)
0 commit comments