dpnp.ufunc.types

property ufunc.types

Returns information about types supported by implementation function, using NumPy's character encoding for data types, e.g.

Examples

>>> import dpnp as np
>>> np.add.types
['??->?', 'bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I',
'll->l', 'LL->L', 'ee->e', 'ff->f', 'dd->d', 'FF->F', 'DD->D']
>>> np.multiply.types
['??->?', 'bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I',
'll->l', 'LL->L', 'ee->e', 'ff->f', 'dd->d', 'FF->F', 'DD->D']
>>> np.power.types
['bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l',
'LL->L', 'ee->e', 'ff->f', 'dd->d', 'FF->F', 'DD->D']
>>> np.exp.types
['e->e', 'f->f', 'd->d', 'F->F', 'D->D']
>>> np.remainder.types
['bb->b', 'BB->B', 'hh->h', 'HH->H', 'ii->i', 'II->I', 'll->l',
'LL->L', 'ee->e', 'ff->f', 'dd->d']