Update undefined dimensions parcing im parameter extender (#9699)

This commit is contained in:
Anton Chetverikov 2022-01-18 12:02:30 +03:00 committed by GitHub
parent 18309852ba
commit 919ada63ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ class Parameter_extender(Extender):
shape[i] = -1
if ".." in dim:
has_shapes_with_boundaries = True
shape = shape_array([d if d != -1 else dynamic_dimension_value for d in shape])
shape = shape_array([d if d not in [-1, '?'] else dynamic_dimension_value for d in shape])
if has_shapes_with_boundaries:
shape_list = []