dpnp.asfarray

dpnp.asfarray(x1, dtype=<class 'numpy.float64'>)[source]

Return an array converted to a float type.

For full documentation refer to numpy.asfarray.

Notes

This function works exactly the same as dpnp.array.