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
bug源头,在mac系统,凡是定义新算子层,在forwaord里定义空白tob_bottom都会错误的成功通过测试,但是Linux却可以正常报错.
在src/layer目录下。定义任意demo.cpp 已demo层为例,不论内部如何实现,,在mac设备统统错误的pass successded。
// 任务 int Demo::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const { top_blob_values.create(w, k, elemsize, opt.blob_allocator); // 只要定义任意此定义,后续不用实现,mac系统都成功,但Linux就可以检测出错误 return 0; } } // namespace ncnn ```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug源头,在mac系统,凡是定义新算子层,在forwaord里定义空白tob_bottom都会错误的成功通过测试,但是Linux却可以正常报错.
示例
在src/layer目录下。定义任意demo.cpp
已demo层为例,不论内部如何实现,,在mac设备统统错误的pass successded。
The text was updated successfully, but these errors were encountered: