mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-23 09:08:56 +08:00
fix python wheel, parallel 3 for macos tasks (#3396)
This commit is contained in:
+2
-2
@@ -300,8 +300,8 @@ PYBIND11_MODULE(ncnn, m)
|
||||
pybind11::pybind11_fail(ss.str());
|
||||
}
|
||||
std::string format = get_mat_format(m);
|
||||
std::vector<ssize_t> shape;
|
||||
std::vector<ssize_t> strides;
|
||||
std::vector<py::ssize_t> shape;
|
||||
std::vector<py::ssize_t> strides;
|
||||
if (m.dims == 1)
|
||||
{
|
||||
shape.push_back(m.w);
|
||||
|
||||
Reference in New Issue
Block a user