def get_rng_state(): r"""Returns the random number generator state as a ByteTensor.""" return default_generator.get_state()