dpctl.tensor._array_api.Info.capabilities

Info.capabilities()[source]

Returns a dictionary of dpctl’s capabilities.

The dictionary contains the following keys:
"boolean indexing":

boolean indicating dpctl’s support of boolean indexing. Value: True

"data-dependent shapes":

boolean indicating dpctl’s support of data-dependent shapes. Value: True

max dimensions:

integer indication the maximum array dimension supported by dpctl. Value: 64

Returns:

dictionary of dpctl’s capabilities

Return type:

dict