Skip to content

Commit

Permalink
fix output_indexes name (#4453)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyushun committed Jan 8, 2023
1 parent b07c5fc commit 68de8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ PYBIND11_MODULE(ncnn, m)
.def("create_extractor", &Net::create_extractor, py::keep_alive<0, 1>()) //net should be kept alive until retuned ex is freed by gc

.def("input_indexes", &Net::input_indexes, py::return_value_policy::reference)
.def("input_indexes", &Net::output_indexes, py::return_value_policy::reference)
.def("output_indexes", &Net::output_indexes, py::return_value_policy::reference)
#if NCNN_STRING
.def("input_names", &Net::input_names, py::return_value_policy::reference)
.def("output_names", &Net::output_names, py::return_value_policy::reference)
Expand Down

0 comments on commit 68de8a2

Please sign in to comment.