def _check_dtype_mistake(dtype):
    if _np.issubdtype(dtype, _np.floating) and dtype != df.floatX:
        _warn("Input array of floating-point dtype {} != df.floatX detected. Is this really what you want?".format(dtype))
It's a very common mistake (at least for me) to pass-in a float64 when I
dataset/ETHPy150Open lucasb-eyer/DeepFried2/DeepFried2/utils.py/_check_dtype_mistake