CoolFace
Modelpublic

diffusers/tools

sourceHugging Facecreativeml-openrail-mupdated 3y agoView on Hugging Face
11likes28downloads
run_randn.py14 linesDownload Raw Back to root
1#!/usr/bin/env python32import torch3 4def get_random():5    return torch.randn((2,2))6 7seeds = []8for _ in range(5):9    num = get_random()10    seeds.append(torch.initial_seed())11    print(num)12 13print("Seeds should be different, but are not", seeds)14