Closed runame closed 1 year ago
Before this fix calling to_matrix() on an instance of the Kron class did not preserve the dtype and device, so even when everything is computed on GPU the returned matrix used to be on CPU, which is unexpected behavior.
to_matrix()
Kron
Before this fix calling
to_matrix()
on an instance of theKron
class did not preserve the dtype and device, so even when everything is computed on GPU the returned matrix used to be on CPU, which is unexpected behavior.