Skip to content

cppflow::tensor from pointer to void #186

Answered by serizba
8-byte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @8-byte

You can use that constructor directly, there shouldn't be any problem.

I made it private because it's not as encapsulated as the others, and it provides a lower level of abstraction. I thought that if you need to use this function, you understand the code well enough to modify it and make it public (like your case).

On the other hand, for novel users, it may be confusing to choose what constructor to use and how, and that's why I decided to only expose the abstract constructors.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by 8-byte
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants