Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Does it not?

E.g. `UInt8[ArrayLike, "... a b"]` means "an array-like of uint8s that has at least two dimensions". You are opting into jaxtyping's definition of an "array-like", but even though the general concept as you point out is wide spread, there isn't really a single agreed upon formal definition of array-like.

Alternatively, even more loosely as anything that is vaguely container-shaped, `UInt8[Any, "... a b"]`.



Ah, fair enough! I think I misread some things around the library initially awhile back and have been making incorrect assumptions about it for awhile!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: