Closed raphaelreinauer closed 2 years ago
This should be a torch tensor https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L223 since you detach is here https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L232
solved here.
This should be a torch tensor https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L223 since you detach is here https://github.com/giotto-ai/giotto-deep/blob/390cbaf2e42bd8ab550fdcdcc86d3b75962489e1/gdeep/utility/optimisation/persistence_grad.py#L232