MatchingBackend.get_fundamental_dtype#

MatchingBackend.get_fundamental_dtype(arr)[source]#

Given an array instance, returns the corresponding fundamental python type, i.e., int, float or complex.

Parameters:
arrBackendArray

Input data.

Returns:
type

Data type.