Skip to content
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

Drop Tensor name #410

Open
joelberkeley opened this issue Jul 4, 2024 · 0 comments
Open

Drop Tensor name #410

joelberkeley opened this issue Jul 4, 2024 · 0 comments

Comments

@joelberkeley
Copy link
Owner

I reckon the Tensor name is redundant, and we can just define a "tensor" as e.g. F64 [2, 5] or U64 []. This would be a fairly big overhaul of the dtype API, but I suspect can be done without changing the implementation. We could even do sth like

F64 : Shape -> Type
F64 shape = Tensor shape F64'

It might get messy for functions polymorphic in the dtype, like (+)

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

No branches or pull requests

1 participant