Skip to content

Commit

Permalink
Try np.generic
Browse files Browse the repository at this point in the history
  • Loading branch information
bhky committed Jan 24, 2025
1 parent f21a6ed commit 4bf8b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targetran/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
ArrayLike = np.typing.ArrayLike
NDAnyArray = np.typing.NDArray[Any]
NDBoolArray = np.typing.NDArray[np.bool_]
NDFloatArray = np.typing.NDArray[float]
NDFloatArray = np.typing.NDArray[np.generic]
NDIntArray = np.typing.NDArray[np.int_]

# T is treated semantically as "NDAnyArray or tf.Tensor" in this library.
Expand Down

0 comments on commit 4bf8b8a

Please sign in to comment.