diff --git a/tinygrad/tensor.py b/tinygrad/tensor.py index 5e77084e9349e..669ebec091f32 100644 --- a/tinygrad/tensor.py +++ b/tinygrad/tensor.py @@ -1926,7 +1926,7 @@ def rearrange(self, formula: str, **sizes) -> Tensor: ```python exec="true" source="above" session="tensor" result="python" x = Tensor([[1, 2], [3, 4]]) - print(Tensor.rearrange(x, "batch channel -> (batch channel)).numpy()) + print(Tensor.rearrange(x, "batch channel -> (batch channel)").numpy()) ``` """ def parse_formula(formula: str):