You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when using np.histogram2d with PyTorch tensors
We should replace samples = sampleable.sample(num_samples).detach().cpu() # (ns, 2)
with samples = sampleable.sample(num_samples).detach().cpu().numpy()