yr.datasystem.hetero_client.DeviceBlobList.set_dev_idx¶
- class yr.datasystem.hetero_client.DeviceBlobList.set_dev_idx(dev_idx)¶
指定 DeviceBlobList 中内存归属的 NPU 卡的 ID。
- 参数:
dev_idx (int) - NPU 卡的 ID。
指定 DeviceBlobList 中内存归属的 NPU 卡的 ID。
dev_idx (int) - NPU 卡的 ID。