Skip to content

Commit 0e09e58

Browse files
authored
Fix docs builder pipeline (#2293)
1 parent ac87a1c commit 0e09e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ir/tensors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ To fully support arrays from other frameworks, it is usually a good idea to crea
189189
```{eval-rst}
190190
.. exec_code::
191191
from __future__ import annotations
192+
192193
import ctypes
193-
from typing import Any
194194
195195
import numpy.typing as npt
196196
import torch
@@ -243,7 +243,7 @@ To fully support arrays from other frameworks, it is usually a good idea to crea
243243
244244
return self.raw.numpy(force=True)
245245
246-
def __array__(self, dtype: Any = None, copy: bool | None = None) -> npt.NDArray:
246+
def __array__(self, dtype = None, copy: bool | None = None) -> npt.NDArray:
247247
del copy # Unused, but needed for the signature
248248
if dtype is None:
249249
return self.numpy()

0 commit comments

Comments
 (0)