Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update usage of numpy to reflect numpy 2.0 changes (#6871)
## Motivation for features / changes Nightlies are failing due to new numpy release(one example: https://github.com/tensorflow/tensorboard/actions/runs/9546526095/job/26309613783) ## Technical description of changes The new numpy replaced np.string_ with np.bytes_ and np.unicode_ with np.str_ ## Screenshots of UI changes (or N/A) ## Detailed steps to verify changes work correctly (as executed by you) I ran tests that were failing and they passed. ## Alternate designs / implementations considered (or N/A) Locking numpy version < 2 was considered. However, this will eventually get us very out of date and should be avoided. --------- Co-authored-by: James Hollyer <[email protected]>
- Loading branch information