Numpyencoder
smac.utils.numpyencoder
#
NumpyEncoder
#
Bases: JSONEncoder
Custom encoder for numpy data types
From stackoverflow.com/a/61903895
default
#
Handle numpy datatypes if present by converting to native python
Parameters#
obj : Any Object to serialize
Returns#
Any Object in native python