Skip to content

Commit

Permalink
chore: add note
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <[email protected]>
  • Loading branch information
ktro2828 committed Dec 6, 2024
1 parent 697a56a commit dc23e56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t4_devkit/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
NDArrayInt = NDArrayI32 | NDArrayI64
NDArrayFloat = NDArrayF32 | NDArrayF64

# NOTE: Custom type aliases are declared because they might allow to include another type as well.
# (e.g.) TranslationType = TypeBar("TranslationType", NDArrayF64, ArrayLike, ...)
# If not, they should be removed because these aliases would cause confusing,

# 3D
TranslationType = NewType("TranslationType", NDArrayF64)
VelocityType = NewType("VelocityType", NDArrayF64)
Expand Down

0 comments on commit dc23e56

Please sign in to comment.