in numpy i can
import numpy as np rs = np.random.RandomState(seed=0)
and then pass that object around, eg for dependency injection.
Does PyTorch have a similar interface? I can't find anything in the docs, but maybe i'm missing something.
Aucun commentaire:
Enregistrer un commentaire