{"author":"Marcin Słowik","author_email":"marcin.slowik@myrelabs.com","author_time":1709484536,"commit_time":1709484536,"committer":"GitHub","committer_email":"noreply@github.com","hash":"56d21d77b3fba1f2df20d23daa27eaa8c1b50d40","message":"Fix two bugs concerning Tensor.to. (#3593)\n\n1. Tensor.to should return self if device == self.device. This was not the case if provided with non-canonical name of self.device.\r\n2. Tensor.to result was missing graph, even though requires_grad and grad were propagated .\r\n\r\nAdd corresponding tests.","parents":["0082300a596690e6333abe90d8a2093e7cb1d970"],"tree_hash":"c272d535a41e51598c5b9b1e87c4637f8774d4c9"}