serizba / cppflow

Run TensorFlow models in C++ without installation and without Bazel
https://serizba.github.io/cppflow/
MIT License
774 stars 177 forks source link

How to access individual tensor elements? #243

Open JMLab-tifrh opened 1 year ago

JMLab-tifrh commented 1 year ago

Hi, sorry for the very naive question, but I am kind of lost. I am defining a tensor using auto inp = cppflow::fill({1, input_shape}, 0.0f);. How to access each element? Also is there any documentation available with a list of all the functions that can be used?