Hi,
let’s say I have a random vector z1=torch.randn(1,128,requires_grad = True). Now I would like to generate another vector z2 such that ||z1-z2||<epsilon. How should I do this in pytorch?
Any help and suggestions would be appreciated, thanks in advance.