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

Function unchecked

include/pybind11/numpy.h:1489–1491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1487 */
1488 template <ssize_t Dims = -1>
1489 detail::unchecked_reference<T, Dims> unchecked() const & {
1490 return array::unchecked<T, Dims>();
1491 }
1492
1493 /// Ensure that the argument is a NumPy array of the correct dtype (and if not, try to convert
1494 /// it). In case of an error, nullptr is returned and the Python error is cleared.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected