Closed martenlienen closed 1 week ago
Hey there! Unfortunately this isn't supported -- it'd require a fairly tricky rewrite of some internals: https://github.com/patrick-kidger/jaxtyping/pull/140#issuecomment-1804886283
Thanks for clearing that up!
Hi, what would be the idiomatic way to describe the return shape of, for example,
torch.zeros
in jaxtyping?How can I encode that the output shape is determined by the number of elements of the
size
tuple?