Return type:
         Generator
  Example:

     >>> g_cpu = torch.Generator()
     >>> g_cpu.manual_seed(2147483647)

seed() -> int
  Gets a non-deterministic random number from std::random_device
  or the current time and uses it to seed a Generator.

  Example:

     >>> g_cpu = torch.Generator()
     >>> g_cpu.seed()
     1516516984916

set_state(new_state) -> void
  Sets the Generator state.

  Parameters:
     **new_state** (*torch.ByteTensor*) -- The desired state.

  Example:

     >>> g_cpu = torch.Generator()
     >>> g_cpu_other = torch.Generator()
     >>> g_cpu.set_state(g_cpu_other.get_state())
