# tensorplay.accelerator.set_device_index Source: https://www.tensorplay.cn/docs/generated/tensorplay.accelerator.set_device_index.html ```python tensorplay.accelerator.set_device_index(device) → None ``` Select the accelerator device by index; negative indices are no-ops.