• Peter Hawkins's avatar
    [NumPy] Remove references to deprecated NumPy type aliases. · b21167be
    Peter Hawkins authored
    This change replaces references to a number of deprecated NumPy type aliases (np.bool, np.int, np.float, np.complex, np.object, np.str) with their recommended replacement (bool, int, float, complex, object, str).
    
    NumPy 1.24 drops the deprecated aliases, so we must remove uses before updating NumPy.
    
    PiperOrigin-RevId: 496396651
    Change-Id: Ifbf86edb8c7ba3bf1a427c1b5276e8eb33041ab9
    b21167be
utils.py 2.44 KB