fix python wheel, parallel 3 for macos tasks (#3396)

This commit is contained in:
nihui
2021-12-02 16:45:39 +08:00
committed by GitHub
parent 6ef0f51f40
commit f4f7fabe27
16 changed files with 102 additions and 75 deletions
+2 -2
View File
@@ -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);