I need implement random number generator by myself in Pytorch, and in my knowledge, all kinds of RNG need unsigned int in the implementation. However PyTorch only support uint8 tensors but not uint32, uint64. Any RNG implementation does could use only int instead of uint?
Aucun commentaire:
Enregistrer un commentaire