dpctl.tensor._array_api.Info.default_dtypes¶
- Info.default_dtypes(*, device=None)[source]¶
Returns a dictionary of default data types for
device
.- Parameters:
device (Optional[
dpctl.SyclDevice
,dpctl.SyclQueue
,dpctl.tensor.Device
]) – array API concept of device used in getting default data types.device
can beNone
(in which case the default device is used), an instance ofdpctl.SyclDevice
corresponding to a non-partitioned SYCL device, an instance ofdpctl.SyclQueue
, or adpctl.tensor.Device
object returned bydpctl.tensor.usm_ndarray.device
. Default:None
.- Returns:
a dictionary of default data types for
device
:"real floating"
: dtype"complex floating"
: dtype"integral"
: dtype"indexing"
: dtype
- Return type: