Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ make_scalar
Function
make_scalar
include/pybind11/numpy.h:832–834 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
830
831
template <typename T>
832
numpy_scalar<T> make_scalar(T value) {
833
return numpy_scalar<T>(value);
834
}
835
836
class dtype : public object {
837
public:
Callers
1
register_test
Function · 0.85
Calls
no outgoing calls
Tested by
1
register_test
Function · 0.68