Closed ckrsls closed 7 months ago
Hello, thanks for your work! I was reproducing your project with analytical gradient but found: gradient = torch.autograd.grad(sdf.sum(), x, create_graph=True)[0] Could you explain why there is a sum operation in the code?
gradient = torch.autograd.grad(sdf.sum(), x, create_graph=True)[0]
Hello, thanks for your work! I was reproducing your project with analytical gradient but found:
gradient = torch.autograd.grad(sdf.sum(), x, create_graph=True)[0]
Could you explain why there is a sum operation in the code?