ttnn.GetDefaultDevice
- ttnn.GetDefaultDevice = <nanobind.nb_func object>
-
GetDefaultDevice() -> ttnn._ttnn.multi_device.MeshDevice
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()