Open
Description
Describe the issue:
pt.arange
allocates a vector of length that depends on input values but the output shape has dynamic type
Reproducable code example:
assert pt.arange(10).type.shape == (10, )
Error message:
(None, ) != (10,)
PyTensor version information:
'2.16.1'