vendredi 23 novembre 2018

understanding seed of a ByteTensor in PyTorch

I understand that a seed is a number used to initialize pseudo-random number generator. in pytorch, torch.get_rng_state documentation states as follows "Returns the random number generator state as a torch.ByteTensor.". and when i print it i get a 1-d tensor of size 5048 whose values are as shown below

tensor([ 80, 78, 248, ..., 0, 0, 0], dtype=torch.uint8)

why does a seed have 5048 values and how is this different from usual seed which we can get using torch.initial_seed




Aucun commentaire:

Enregistrer un commentaire