ttnn.manage_device

ttnn.manage_device(device_id: int) ttnn.Device:

Context manager for opening and closing a device.