rust
rust copied to clipboard
migrate from random crate to rand
Migrate from random crate to rand #378
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Can you fix the test failures? The ./test-all script should succeed.
Hello Adam, I am new to open-source, Could you please help me how to fix this? I could try fixing it.
All the other places in the file that reference the random crate also need to be switched to the rand crate, and Cargo.toml needs to be updated. This isn't a simple find-and-replace, because the types and functions in the two crates aren't identical.
This was fixed in https://github.com/tensorflow/rust/pull/384.