google / seqio

Task-based datasets, preprocessing, and evaluation for sequence models.
Apache License 2.0
556 stars 58 forks source link

[numpy] Fix users of NumPy APIs that are removed in NumPy 2.0. #757

Closed copybara-service[bot] closed 2 months ago

copybara-service[bot] commented 2 months ago

[numpy] Fix users of NumPy APIs that are removed in NumPy 2.0.

This change migrates users of APIs removed in NumPy 2.0 to their recommended replacements (https://numpy.org/devdocs/numpy_2_0_migration_guide.html).