-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to re-use a WrappedRamTensor and provide new input data #59
Comments
Can you show me what's inside |
Hi @dboyliao I did try re-creating new instances but it still gives the same errors: Have attached a zip file with the C++ created files. Also dboyliao, I tried to understand the public Thanks for helping. |
Ah, I think I know what's going wrong. |
@RajeshSiraskar
and you get the same error at second eval ? Is my understanding correct? |
@Knight-X |
@dboyliao |
Hi, I tried all three experiments: [Change 1: Adding input_x = new WrappedRamTensor]
When I add this:
Here there is only ONE [Change 2: Adding Context ctx, ctx2;] I did retry
[Change 3: Added BOTH changes together] Here I combined both the above and here's the output. It does NOT output the correct value but executes without error:
|
Hi - Just in case the board matters: Board: https://os.mbed.com/platforms/ST-Discovery-L476VG/ Thanks for helping |
Hi,
I am beginner with uTensor and embedded C/C++. I have a little experience around Python and wanted to study development of intelligence at the edge by building models in Python and deploying on Cortex boards. @neil-tan helped me understand the basics and I used his tutorial to begin this understanding.
So passing the input data, wrapped in a
WrappedRamTensor
works great the 1st time. When I try to provide another instance of input data and do a second pass - it gives me an error. What could I be doing wrong? Does input data tensor have to be thread-safe?Output with the error
Source code
The text was updated successfully, but these errors were encountered: