Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
randn_tensor
to replace torch.randn
`torch.randn` requires `generator` and `latents` on the same device, while the wrapped function `randn_tensor` does not have this issue.
- Loading branch information