You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/array.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,9 @@ The dtype should be any one of (all imported from `jaxtyping`):
66
66
- Of particular precision: `Complex64`, `Complex128`
67
67
- Any integer or unsigned intger: `Integer`
68
68
- Any unsigned integer: `UInt`
69
-
- Of particular precision: `UInt4`, `UInt8`, `UInt16`, `UInt32`, `UInt64`
69
+
- Of particular precision: `UInt2`, `UInt4`, `UInt8`, `UInt16`, `UInt32`, `UInt64`
70
70
- Any signed integer: `Int`
71
-
- Of particular precision: `Int4`, `Int8`, `Int16`, `Int32`, `Int64`
71
+
- Of particular precision: `Int2`, `Int4`, `Int8`, `Int16`, `Int32`, `Int64`
72
72
- Any floating, integer, or unsigned integer: `Real`.
73
73
74
74
Unless you really want to force a particular precision, then for most applications you should probably allow any floating-point, any integer, etc. That is, use
0 commit comments