legate.core.shape.Shape.update# Shape.update(dim: int, new_value: int) → Shape# Replaces the extent of a dimension with a new extent Parameters: dim (int) – Dimension to replace new_value (int) – New extent Returns: Shape with the chosen dimension updated Return type: Shape Notes Can block on the producer task