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
我在跑 ios 程序的时候 ,最后输出结果时调用 Net::ExtractBlob(float** output_ptr, std::string name) 这个函数报错 调用部分代码是这样的: float p = NULL; forward_net.ExtractBlob(&p, "fc7"); 请问是这个 指针初始化的问题么? 在这个 forward_net.ExtractBlob(float output_ptr, std::string name) 实现里给数组指针分配内存,在函数内部为什么要 assert(output_ptr == NULL);
The text was updated successfully, but these errors were encountered:
You need to allocate memory in advance for that output data pointer to receive the return data.
Sorry, something went wrong.
Hi orangles, 我更新了API,原先的实现十分不友好,请再试一下
No branches or pull requests
我在跑 ios 程序的时候 ,最后输出结果时调用 Net::ExtractBlob(float** output_ptr, std::string name) 这个函数报错
调用部分代码是这样的:
float p = NULL;
forward_net.ExtractBlob(&p, "fc7");
请问是这个 指针初始化的问题么?
在这个 forward_net.ExtractBlob(float output_ptr, std::string name) 实现里给数组指针分配内存,在函数内部为什么要
assert(output_ptr == NULL);
The text was updated successfully, but these errors were encountered: