MCPcopy Create free account
hub / github.com/pybind/pybind11 / check_dimensions

Method check_dimensions

include/pybind11/numpy.h:1349–1351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1347
1348 template <typename... Ix>
1349 void check_dimensions(Ix... index) const {
1350 check_dimensions_impl(ssize_t(0), shape(), ssize_t(index)...);
1351 }
1352
1353 void check_dimensions_impl(ssize_t, const ssize_t *) const {}
1354

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected