Skip to content

What is the difference between cute::Tensor::element_type and cute::Tensor::value_type? #1409

Answered by thakkarV
hyhieu asked this question in Q&A
Discussion options

You must be logged in to vote

Usually they are the same but there are cases where they need not be. Value type is the logical value the tensor stores. Element type is the underlying physical storage for it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thakkarV
Comment options

Answer selected by hyhieu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants