ttnn.GetDefaultDevice

ttnn.GetDefaultDevice() ttnn._ttnn.device.IDevice

Gets the default device to use for ops when inputs aren’t on device.

Returns:

ttnn.Device – The default device to use.

Note

This functionality is planned for deprecation in the future.

Example

>>> device = ttnn.GetDefaultDevice()