Replies: 1 comment
-
Here's the relevant code that I used to do something similar -- what worked for me was to first create a tensor using the TensorFlow C API, and then use that to create a CppFlow tensor object: #include "cppflow/cppflow.h" int64_t dims[3]; dims[0] = 640; // image width |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm a newbuy in C++ and I have a question: can I create cppflow::tensor from 2-dimensional vector or array? I've tried
but it dropped me
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions