We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当我使用了预分配的内存作为输出缓存时,设置了is_prealloc为true,size大小为正确的大小,index为输出的对应索引,此时无法获得正确的结果,获得结果均为0。 不使用预分配内存时能够获取正确的结果,请问是什么原因? 如果不使用预分配内存的情况下,是不是每次推理结束都要调用rknn_outputs_release这个接口去释放内存,如果不在每次推理结束后调用,而是等整个进程结束后调用,是否会引起内存泄漏?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我使用了预分配的内存作为输出缓存时,设置了is_prealloc为true,size大小为正确的大小,index为输出的对应索引,此时无法获得正确的结果,获得结果均为0。
不使用预分配内存时能够获取正确的结果,请问是什么原因?
如果不使用预分配内存的情况下,是不是每次推理结束都要调用rknn_outputs_release这个接口去释放内存,如果不在每次推理结束后调用,而是等整个进程结束后调用,是否会引起内存泄漏?
The text was updated successfully, but these errors were encountered: