Patrick Labatut 1f9661e150 Tidy uses of torch.device in Volumes
Summary:
Tidy uses of `torch.device` in `Volumes`:
- Allow `str` or `torch.device` in `Volumes.to()` method
- Consistently use `torch.device` for internal type
- Fix comparison of devices

Reviewed By: nikhilaravi

Differential Revision: D28970876

fbshipit-source-id: c640cc22ced684a54cc450ac38a0f4b3435d47be
2021-06-09 15:50:09 -07:00
..
2021-05-26 04:54:19 -07:00
2020-01-23 11:53:46 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2021-01-05 03:59:20 -08:00
2021-01-20 13:08:35 -08:00
2021-01-06 06:23:48 -08:00
2021-01-06 06:23:48 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2020-11-03 13:06:35 -08:00
2021-05-26 04:54:19 -07:00
2020-05-04 09:56:44 -07:00
2020-04-24 09:11:04 -07:00
2020-05-05 11:09:45 -07:00
2020-04-24 09:11:04 -07:00
2020-08-07 01:59:58 -07:00
2021-05-26 04:54:19 -07:00
2021-05-04 05:36:51 -07:00
2020-07-29 05:01:07 -07:00
2020-11-30 11:38:04 -08:00
2020-04-06 06:41:00 -07:00
2020-04-24 09:11:04 -07:00
2021-04-09 09:58:54 -07:00
2021-04-09 09:58:54 -07:00
2021-04-12 19:10:18 -07:00
2021-04-08 09:38:43 -07:00
2021-04-09 09:58:54 -07:00
2021-04-12 19:10:18 -07:00
2021-04-09 09:58:54 -07:00
2021-01-06 04:01:29 -08:00
2021-04-12 19:10:18 -07:00
2021-04-12 19:10:18 -07:00
2021-04-09 09:58:54 -07:00
2021-04-12 19:10:18 -07:00
2021-04-09 09:58:54 -07:00
2020-01-23 11:53:46 -08:00