torch.allclose(c.flatten(), C.flatten()), ) xi = torch.randn(4, dtype=torch.float64) dC = torch.autograd.grad(C, a, xi.reshape(1, 4), ...
確定! 回上一頁