Contents
Parse devices and convert first to the torch device.
dvs – List, string with device ids or torch.device.
is_dp (bool) – Use data parallel - additionally returns device ids.
bool
tuple
First torch device and list of gpu ids.