Skip to content

pt.arange(int) has .type.shape set to None #1301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lucianopaz opened this issue Mar 18, 2025 · 1 comment · Fixed by #1302
Closed

pt.arange(int) has .type.shape set to None #1301

lucianopaz opened this issue Mar 18, 2025 · 1 comment · Fixed by #1302

Comments

@lucianopaz
Copy link
Contributor

Description

I'm not sure why, but pt.arange(10).type.shape is (None,). Since the input args are constants, it could have the type shape already determined to be (10,).

@ricardoV94
Copy link
Member

Yeah we can add. We didn't go through all the Ops when we added static shapes. Cumsum is another I came across recently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants