webgpupy.ndarray.tolist#

method

ndarray.tolist()#

Converts the ndarray into a python list

Examples

>>> import webgpupy as wp
>>> wp.array([1.0, 2.0, 3.0, 4.0, 5.0]).tolist()
[1.0, 2.0, 3.0, 4.0, 5.0]