pytorch
97f129bf - Let set_rng_state and get_rng_state accept string parameter (#23448)

Comment changes are shownComment changes are hidden
Commit
5 years ago
Let set_rng_state and get_rng_state accept string parameter (#23448) Summary: Currently set_rng_state and get_rng_state do not accept string as their parameters. This commit let them accept strings. Pull Request resolved: https://github.com/pytorch/pytorch/pull/23448 Differential Revision: D16527172 Pulled By: soumith fbshipit-source-id: 8f9a2129979706e16877cc110f104770fbbe952c
Author
Parents
  • torch/cuda
    • File
      random.py