first = draw_values() second = draw_values() print(f"model weights match: {torch.equal(first['weights'], second['weights'])}") print(f"PyTorch samples match: {torch.equal(first['torch'], second['torch'])}") print(f"NumPy samples match: {np.array_equal(first['numpy'], second['numpy'])}") print(f"Python samples match: {first['python'] == second['python']}")