Skip to content
Discussion options

You must be logged in to vote

set_tensor does tell you the data type in tensor->type. Similarly, you can use get_alloc_size to determine how much memory needs to be allocated for a tensor.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@slaren
Comment options

@marty1885
Comment options

@slaren
Comment options

@marty1885
Comment options

@slaren
Comment options

Answer selected by marty1885
Comment options

You must be logged in to vote
5 replies
@marty1885
Comment options

@Cikaros
Comment options

@System64fumo
Comment options

@marty1885
Comment options

@marty1885
Comment options

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