Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Replace deprecated np.random.random_integers with np.random.randint #1346

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Jan 6, 2019

np.random.random_integers is deprecated in favor of np.random.randint since numpy version 1.10.

This PR replaces calls to np.random.random_integers with np.random.randint.

@googlebot googlebot added the cla: yes PR author has signed CLA label Jan 6, 2019
@afrozenator
Copy link
Contributor

This is really appreciated, thanks a lot!

@afrozenator afrozenator merged commit 05c972a into tensorflow:master Jan 7, 2019
@lgeiger lgeiger deleted the randint branch January 7, 2019 21:19
tensorflow-copybara pushed a commit that referenced this pull request Jan 7, 2019
PiperOrigin-RevId: 228195515
kpe pushed a commit to kpe/tensor2tensor that referenced this pull request Mar 2, 2019
kpe pushed a commit to kpe/tensor2tensor that referenced this pull request Mar 2, 2019
PiperOrigin-RevId: 228195515
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has signed CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants