• Z
    Fix numpy 1.20+ deprecation warnings (#42929) · 90cf2299
    zlsh80826 提交于
    * Replace np.bool/np.bool8 with np.bool_
    
    * Replace np.object with np.object_
    
    * Replace np.complex with np.complex128
    
    * Replace np.float with np.float64
    
    * Replace np.int with np.int_
    
    * Rerun pre-commit for newer pre-commit configuration
    
    * Use builtin bool instead of np.bool_ based on the context
    90cf2299
creation.py 69.8 KB